Don't care about return code for wait()

This commit is contained in:
Philippe Pepiot 2009-10-12 01:39:28 +02:00
parent 6f17f0e5f7
commit a3a0dd32ba

View File

@ -529,7 +529,6 @@ send_client_event(long data[5], char *atom_name)
void void
getevent(XEvent ev) getevent(XEvent ev)
{ {
int st;
switch(ev.type) switch(ev.type)
{ {
@ -563,7 +562,7 @@ getevent(XEvent ev)
break; break;
} }
wait(&st); wait((int[]){0});
return; return;
} }