diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-11-05 15:34:52 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-11-05 16:10:43 +0100 |
commit | ab71791b0950a9894e0c4afc7213eeda0365c364 (patch) | |
tree | 0c41e1c0c6e170ee24937a4920014efc4d0d6ea5 /gobject-introspection | |
parent | efe38fdd2ead6d7a827095d083213887b57c1642 (diff) | |
download | vala-ab71791b0950a9894e0c4afc7213eeda0365c364.tar.gz |
g-i: Avoid use of uninitialized "markup" warning
Diffstat (limited to 'gobject-introspection')
-rw-r--r-- | gobject-introspection/gidlwriter.c | 4 |
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); |