mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-28 01:57:14 +02:00
gio: Fix various compiler warnings when compiling with G_DISABLE_ASSERT
Mostly unused variables which are only used in a g_assert() call otherwise. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1708
This commit is contained in:
@@ -774,7 +774,7 @@ g_application_impl_command_line (GApplicationImpl *impl,
|
||||
const gchar *object_path = "/org/gtk/Application/CommandLine";
|
||||
GMainContext *context;
|
||||
CommandLineData data;
|
||||
guint object_id;
|
||||
guint object_id G_GNUC_UNUSED /* when compiling with G_DISABLE_ASSERT */;
|
||||
|
||||
context = g_main_context_new ();
|
||||
data.loop = g_main_loop_new (context, FALSE);
|
||||
|
Reference in New Issue
Block a user