[gimp/metadata-browser] plug-ins: remove unused variable in file-tiff-load.c



commit fa3ae841840d76063cc7e1b6daf9b6a086d8a772
Author: Michael Natterer <mitch gimp org>
Date:   Sun Feb 5 22:28:55 2012 +0100

    plug-ins: remove unused variable in file-tiff-load.c

 plug-ins/common/file-tiff-load.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/common/file-tiff-load.c b/plug-ins/common/file-tiff-load.c
index 2c8f9dc..ea93fe2 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? */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]