summary refs log tree commit diff stats
path: root/ui/vnc-palette.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/vnc-palette.c')
-rw-r--r--ui/vnc-palette.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/vnc-palette.c b/ui/vnc-palette.c
index dc7c0ba997..4e88c412f0 100644
--- a/ui/vnc-palette.c
+++ b/ui/vnc-palette.c
@@ -86,8 +86,6 @@ int palette_put(VncPalette *palette, uint32_t color)
         return 0;
     }
     if (!entry) {
-        VncPaletteEntry *entry;
-
         entry = &palette->pool[palette->size];
         entry->color = color;
         entry->idx = idx;