mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-25 03:36:32 +01:00
Fix set but unused parameter warning in gio/tests/gio-du.c
gio/tests/gio-du.c: In function 'main':
gio/tests/gio-du.c:74:11: error: parameter 'argc' set but not used
74 | main (int argc, char **argv)
| ~~~~^~~~
This commit is contained in:
@@ -79,7 +79,6 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
argv = g_win32_get_command_line ();
|
argv = g_win32_get_command_line ();
|
||||||
argc = g_strv_length (argv);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
setlocale (LC_ALL, "");
|
setlocale (LC_ALL, "");
|
||||||
|
|||||||
Reference in New Issue
Block a user