Commit 6f1f8822 authored by Philipp Stephani's avatar Philipp Stephani

Avoid uninitialized read

* src/nsterm.m (ns_read_socket): Don't read uninitialized variable 'nevents'.
parent fa389f5b
......@@ -4261,6 +4261,8 @@ in certain situations (rapid incoming events).
q_event_ptr = NULL;
unblock_input ();
return -1;
return nevents;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment