mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 15:33:39 +02:00
Misc warning fixes
glib/pcre/pcre_ucp_search_funcs.c, glib/pcre/pcre_valid_utf8.c: add back missing config.h includes, and this time add them to the copies in glib/update-pcre/ too so they don't get lost again on the next PCRE update. glib/garray.c, glib/gbase64.c: fix signed/unsigned pointer casts gio/xdgmime/xdgmimeglob.c: remove unused variable gio/tests/live-g-file.c: fix printf args on x86_64 tests/Makefile.am, tests/regex-test.c: remove redundant -DENABLE_REGEX
This commit is contained in:
@@ -458,8 +458,8 @@ test_initial_structure (gconstpointer test_data)
|
||||
PATTERN_FILE_SIZE, NULL, &error);
|
||||
g_assert_no_error (error);
|
||||
total_read += read;
|
||||
log (" read %d bytes, total = %d of %d.\n", read, total_read,
|
||||
PATTERN_FILE_SIZE);
|
||||
log (" read %d bytes, total = %d of %d.\n", (int) read,
|
||||
(int) total_read, PATTERN_FILE_SIZE);
|
||||
}
|
||||
g_assert_cmpint (total_read, ==, PATTERN_FILE_SIZE);
|
||||
|
||||
|
@@ -375,7 +375,6 @@ _xdg_glob_hash_lookup_file_name (XdgGlobHash *glob_hash,
|
||||
int i, n;
|
||||
MimeWeight mimes[10];
|
||||
int n_mimes = 10;
|
||||
xdg_unichar_t *ucs4;
|
||||
int len;
|
||||
|
||||
/* First, check the literals */
|
||||
|
Reference in New Issue
Block a user