From 3c240bcb3c1945d9e989f2a0a0b1f2a39a2ed033 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sun, 5 Feb 2012 22:28:55 +0100 Subject: [PATCH] plug-ins: remove unused variable in file-tiff-load.c --- plug-ins/common/file-tiff-load.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plug-ins/common/file-tiff-load.c b/plug-ins/common/file-tiff-load.c index 2c8f9dc990..ea93fe29e2 100644 --- a/plug-ins/common/file-tiff-load.c +++ b/plug-ins/common/file-tiff-load.c @@ -397,12 +397,12 @@ tiff_warning (const gchar *module, if (! strcmp (fmt, "%s: unknown field with tag %d (0x%x) encountered")) { - const char *name; - va_list ap_test; + va_list ap_test; G_VA_COPY (ap_test, ap); - name = va_arg (ap_test, const char *); + va_arg (ap_test, const char *); /* ignore first arg */ + tag = va_arg (ap_test, int); } /* for older versions of libtiff? */