mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 09:16:17 +01:00
g-ir-inspect: Ensure variables are at the top of block
We did not yet advertise C99 requirements for G-I yet, so let's not assume this yet.
This commit is contained in:
parent
55bca7b445
commit
ea917797bb
@ -77,10 +77,11 @@ main (gint argc,
|
||||
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &namespaces, "The typelib to inspect", "NAMESPACE" },
|
||||
{ NULL },
|
||||
};
|
||||
GOptionContext *context = NULL;
|
||||
|
||||
setlocale (LC_ALL, "");
|
||||
|
||||
GOptionContext *context = g_option_context_new ("- Inspect GI typelib");
|
||||
context = g_option_context_new ("- Inspect GI typelib");
|
||||
g_option_context_add_main_entries (context, options, NULL);
|
||||
if (!g_option_context_parse (context, &argc, &argv, &error))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user