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:
Emmanuel Fleury 2021-11-04 22:40:43 +01:00
parent dea0ec3df6
commit 22037bfab2

View File

@ -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, "");