mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
Initialize boolean variable
There can be branches where the `interesting` variable isn't initialized. https://bugzilla.gnome.org/show_bug.cgi?id=794732
This commit is contained in:
@@ -207,6 +207,8 @@ ih_event_callback (ik_event_t *event,
|
|||||||
/* unpaired event -- no 'other' field */
|
/* unpaired event -- no 'other' field */
|
||||||
interesting = g_file_monitor_source_handle_event (sub->user_data, event_flags,
|
interesting = g_file_monitor_source_handle_event (sub->user_data, event_flags,
|
||||||
event->name, NULL, NULL, event->timestamp);
|
event->name, NULL, NULL, event->timestamp);
|
||||||
|
else
|
||||||
|
interesting = FALSE;
|
||||||
|
|
||||||
if (event->mask & IN_CREATE)
|
if (event->mask & IN_CREATE)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user