Building problems in GIO
xaionaro opened this issue · comments
mon_gio.c: In function ‘gio_wait_now’:
mon_gio.c:240:6: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
int result;
^
mon_gio.c: In function ‘dir_gotevent’:
mon_gio.c:78:11: warning: ‘path_rel’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ev->path = path;
^
mon_gio.c:116:20: note: ‘path_rel’ was declared here
char *path_full, *path_rel;
This warning is no longer reprodusible with gcc-10. Sometimes warnings about undefined variables are false positives.