gobject: Mark a helper variable as const
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 4 Mar 2015 08:52:22 +0000 (08:52 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 4 Mar 2015 08:55:30 +0000 (08:55 +0000)
It’s only used for argv values, which are not modified here.

https://bugzilla.gnome.org/show_bug.cgi?id=614684

gobject/gobject-query.c

index e93943f..b5dff42 100644 (file)
@@ -120,7 +120,7 @@ main (gint   argc,
   gboolean gen_froots = 0;
   gboolean gen_tree = 0;
   gint i;
-  gchar *iindent = "";
+  const gchar *iindent = "";
 
   f_out = stdout;