[gtk+/spinner: 2/10] Avoid a compiler warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/spinner: 2/10] Avoid a compiler warning
- Date: Fri, 20 Jun 2014 19:56:38 +0000 (UTC)
commit d1918bbb69e9ec11cb7472eef79cef6619c8cc73
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 20 14:17:24 2014 -0400
Avoid a compiler warning
The name_offset variable is indeed unused.
gtk/gtkiconcache.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c
index d19c0a9..091091e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]