summaryrefslogtreecommitdiff
path: root/gobject-introspection
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-11-05 15:34:52 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2019-11-05 16:10:43 +0100
commitab71791b0950a9894e0c4afc7213eeda0365c364 (patch)
tree0c41e1c0c6e170ee24937a4920014efc4d0d6ea5 /gobject-introspection
parentefe38fdd2ead6d7a827095d083213887b57c1642 (diff)
downloadvala-ab71791b0950a9894e0c4afc7213eeda0365c364.tar.gz
g-i: Avoid use of uninitialized "markup" warning
Diffstat (limited to 'gobject-introspection')
-rw-r--r--gobject-introspection/gidlwriter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gobject-introspection/gidlwriter.c b/gobject-introspection/gidlwriter.c
index 2c0cbaa5c..32c86f73d 100644
--- a/gobject-introspection/gidlwriter.c
+++ b/gobject-introspection/gidlwriter.c
@@ -273,6 +273,10 @@ interface_generate (GIdlWriter * writer, GIdlNodeInterface * node)
("<interface name=\"%s\" type-name=\"%s\" get-type=\"%s\">\n",
node->node.name, node->gtype_name, node->gtype_init);
}
+ else
+ {
+ g_assert_not_reached ();
+ }
g_writer_write_indent (writer, markup);
g_free (markup);