mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 03:46:17 +01:00
win32: Fix warning
This commit is contained in:
parent
c237338b04
commit
0a130c8bb0
@ -341,7 +341,7 @@ main (int ignored_argc, char **ignored_argv)
|
||||
fd_toclose = g_slist_append (fd_toclose, GINT_TO_POINTER (i));
|
||||
|
||||
/* ...so we won't get the nasty off-by-1 file descriptor leak */
|
||||
g_slist_append (fd_toclose, NULL);
|
||||
fd_toclose = g_slist_append (fd_toclose, NULL);
|
||||
last_item = g_slist_last (fd_toclose);
|
||||
|
||||
/* now close all the file descriptors as necessary */
|
||||
|
Loading…
Reference in New Issue
Block a user