From 4043597a9489e4c29c2c3c2c205048d2614d143a Mon Sep 17 00:00:00 2001 From: Tommi Komulainen Date: Thu, 16 Oct 2008 17:07:05 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20556543=20=E2=80=93=20reduce=20compiler=20?= =?UTF-8?q?warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2008-10-16 Tommi Komulainen Bug 556543 – reduce compiler warnings * girepository/ginfo.c: * girepository/girepository.c (register_internal, count_interfaces, find_interface, find_namespace_version, parse_version, g_irepository_require): * girepository/girmodule.c (g_ir_module_build_typelib): * girepository/girnode.c (init_stats, dump_stats, _g_irnode_init_stats, _g_irnode_dump_stats, g_ir_node_can_have_member): * girepository/girparser.c (firstpass_end_element_handler, locate_gir, parse_basic, parse_type_internal, resolve_aliases, start_alias, start_type, end_type_top, parse_include, cleanup, post_filter): * girepository/gtypelib.c (validate_function_blob, validate_enum_blob): * giscanner/giscannermodule.c (directive_get_options, type_get_child_list): * giscanner/scannerlexer.l (parse_gtkdoc): * giscanner/scannerparser.y (ctype_free): * giscanner/sourcescanner.c: * giscanner/sourcescanner.h (gi_source_scanner_parse_macros): * tests/types/gitesttypes.c: * tools/compiler.c (main): * tools/generate.c (write_repository): Remove unused variables and code, add missing includes, declarations and case statements. svn path=/trunk/; revision=730 --- girepository/tools/compiler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/girepository/tools/compiler.c b/girepository/tools/compiler.c index 6af0a89ad..50ba37e34 100644 --- a/girepository/tools/compiler.c +++ b/girepository/tools/compiler.c @@ -169,7 +169,7 @@ main (int argc, char ** argv) { GOptionContext *context; GError *error = NULL; - GList *c, *m, *modules; + GList *m, *modules; gint i; g_typelib_check_sanity ();