mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
Hush compiler warnings about return values, signedness mismatches, unused
* src/compiler.c, src/generate.c, src/gidlnode.c, src/gidlparser.c, src/ginfo.c, src/girepository.c, tests/invoke/invoke.c, test/invoke/testfns.c: Hush compiler warnings about return values, signedness mismatches, unused variables, and unhandles enum values in switch statements. * tests/invoke/Makefile.am: Don't install the invoke test program. Add -I ../../src to the cflags used for the test functions files.
This commit is contained in:
parent
f8e471a64c
commit
35527e755c
@ -21,6 +21,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
@ -28,6 +29,7 @@
|
||||
#include "gidlmodule.h"
|
||||
#include "gidlnode.h"
|
||||
#include "gidlparser.h"
|
||||
#include "gmetadata.h"
|
||||
|
||||
gboolean raw = FALSE;
|
||||
gboolean no_init = FALSE;
|
||||
@ -85,7 +87,7 @@ format_output (guchar *metadata,
|
||||
|
||||
static void
|
||||
write_out_metadata (gchar *prefix,
|
||||
gchar *metadata,
|
||||
guchar *metadata,
|
||||
gsize len)
|
||||
{
|
||||
FILE *file;
|
||||
|
Loading…
Reference in New Issue
Block a user