[gimp] plug-ins: remove unused variable in file-tiff-load.c
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: remove unused variable in file-tiff-load.c
- Date: Sun, 5 Feb 2012 21:29:34 +0000 (UTC)
commit 3c240bcb3c1945d9e989f2a0a0b1f2a39a2ed033
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]