summaryrefslogtreecommitdiff
path: root/girepository/girwriter.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2012-04-09 14:19:23 -0300
committerJohan Dahlin <jdahlin@litl.com>2012-04-09 14:19:23 -0300
commit7c4fbbd681e89775dbec67f3002f820feb42300b (patch)
treea99dc723141fd872f84c488665e973b483ba0a1e /girepository/girwriter.c
parent47d4e9509a8ffde1cab4a6f8d2be4ce232ba1cfb (diff)
downloadgobject-introspection-7c4fbbd681e89775dbec67f3002f820feb42300b.tar.gz
Make introspection compile with -Wall -Werror
Address all gcc warnings, -Werror is not enabled yet but at least -Wall -Werror passes on my machine.
Diffstat (limited to 'girepository/girwriter.c')
-rw-r--r--girepository/girwriter.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/girepository/girwriter.c b/girepository/girwriter.c
index 73088a12..5b39e2de 100644
--- a/girepository/girwriter.c
+++ b/girepository/girwriter.c
@@ -771,11 +771,9 @@ write_constant_info (const gchar *namespace,
{
GITypeInfo *type;
const gchar *name;
- gboolean deprecated;
GIArgument value;
name = g_base_info_get_name ((GIBaseInfo *)info);
- deprecated = g_base_info_is_deprecated ((GIBaseInfo *)info);
xml_start_element (file, "constant");
xml_printf (file, " name=\"%s\"", name);