summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTommi Komulainen <tommi.komulainen@iki.fi>2008-10-16 17:07:05 +0000
committerTommi Komulainen <tko@src.gnome.org>2008-10-16 17:07:05 +0000
commit7e1fa913da93b142b10ea3a5105f9cb58afe183e (patch)
treebd750a28eef2bdcdbbaace263aca135ffc276c64 /tools
parent4d71f895c229a08016b1ee02f907c792d9c18df6 (diff)
downloadgobject-introspection-7e1fa913da93b142b10ea3a5105f9cb58afe183e.tar.gz
Bug 556543 – reduce compiler warnings
2008-10-16 Tommi Komulainen <tommi.komulainen@iki.fi> 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
Diffstat (limited to 'tools')
-rw-r--r--tools/compiler.c2
-rw-r--r--tools/generate.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/compiler.c b/tools/compiler.c
index 6af0a89a..50ba37e3 100644
--- a/tools/compiler.c
+++ b/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 ();
diff --git a/tools/generate.c b/tools/generate.c
index 74dd41a0..0e286fb9 100644
--- a/tools/generate.c
+++ b/tools/generate.c
@@ -1121,7 +1121,6 @@ write_repository (const char *namespace,
gboolean needs_prefix)
{
FILE *ofile;
- gchar *ns;
gint i, j;
char **dependencies;
GIRepository *repository;