[glib: 6/7] Fix set but unused parameter warning in gio/tests/gio-du.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 6/7] Fix set but unused parameter warning in gio/tests/gio-du.c
- Date: Wed, 17 Nov 2021 15:15:47 +0000 (UTC)
commit 22037bfab2be055adfdedcc7164dfef9ab6adffa
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Thu Nov 4 22:40:43 2021 +0100
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)
| ~~~~^~~~
gio/tests/gio-du.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gio/tests/gio-du.c b/gio/tests/gio-du.c
index 58d1797d2..253a21f70 100644
--- a/gio/tests/gio-du.c
+++ b/gio/tests/gio-du.c
@@ -79,7 +79,6 @@ main (int argc, char **argv)
#ifdef G_OS_WIN32
argv = g_win32_get_command_line ();
- argc = g_strv_length (argv);
#endif
setlocale (LC_ALL, "");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]