diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-09-09 00:18:23 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-09-18 19:20:06 -0400 |
commit | 53fc10d2695f917db530c9a3f166e45be59d1d3a (patch) | |
tree | f967e163a4711756f8bbbe9a62b3201b8a26204c /gio/gdummyfile.c | |
parent | 04d632ccf59ce0491261ff87b3867012cb56d8bf (diff) | |
download | glib-53fc10d2695f917db530c9a3f166e45be59d1d3a.tar.gz |
Fix a lot of clang complaints
Mostly dead assignments.
Diffstat (limited to 'gio/gdummyfile.c')
-rw-r--r-- | gio/gdummyfile.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gio/gdummyfile.c b/gio/gdummyfile.c index 7d6e763d0..99f9b6ef5 100644 --- a/gio/gdummyfile.c +++ b/gio/gdummyfile.c @@ -690,16 +690,13 @@ is_valid (char c, const char *reserved_chars_allowed) } static void -g_string_append_encoded (GString *string, +g_string_append_encoded (GString *string, const char *encoded, const char *reserved_chars_allowed) { unsigned char c; - const char *end; static const gchar hex[16] = "0123456789ABCDEF"; - end = encoded + strlen (encoded); - while ((c = *encoded) != 0) { if (is_valid (c, reserved_chars_allowed)) |