From 361f30c6b369a44c9721def6d192f3f840bd5d69 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 28 Feb 2011 09:46:08 +0200 Subject: [PATCH] inotify.c: notify_exit: compiler happiness make compiler happy and use parentheses around assignment in while-statement. --- src/inotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inotify.c b/src/inotify.c index d39031e..1bdf9be 100644 --- a/src/inotify.c +++ b/src/inotify.c @@ -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;