inotify.c: notify_exit: compiler happiness
make compiler happy and use parentheses around assignment in while-statement.
This commit is contained in:
parent
52a02d756e
commit
361f30c6b3
1 changed files with 1 additions and 1 deletions
|
|
@ -230,7 +230,7 @@ void notify_exit() {
|
|||
|
||||
if (event_queue) {
|
||||
notify_event *e;
|
||||
while(e = queue_dequeue(event_queue))
|
||||
while((e = queue_dequeue(event_queue)))
|
||||
notify_event_del(e);
|
||||
queue_destroy(event_queue);
|
||||
event_queue = NULL;
|
||||
|
|
|
|||
Reference in a new issue