From d1918bbb69e9ec11cb7472eef79cef6619c8cc73 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 20 Jun 2014 14:17:24 -0400 Subject: [PATCH] Avoid a compiler warning The name_offset variable is indeed unused. --- gtk/gtkiconcache.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c index d19c0a9188..091091e8cb 100644 --- a/gtk/gtkiconcache.c +++ b/gtk/gtkiconcache.c @@ -323,8 +323,6 @@ _gtk_icon_cache_has_icons (GtkIconCache *cache, chain_offset = GET_UINT32 (cache->buffer, hash_offset + 4 + 4 * i); while (chain_offset != 0xffffffff) { - guint32 name_offset = GET_UINT32 (cache->buffer, chain_offset + 4); - image_list_offset = GET_UINT32 (cache->buffer, chain_offset + 8); n_images = GET_UINT32 (cache->buffer, image_list_offset);