Fix a warning in last patch.
authorBruno Haible <bruno@clisp.org>
Sat, 19 May 2007 20:30:58 +0000 (20:30 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 19 May 2007 20:30:58 +0000 (20:30 +0000)
lib/vasnprintf.c

index 49692f1..6960477 100644 (file)
@@ -1290,7 +1290,9 @@ VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list ar
 # endif
                        ))
              {
+# if NEED_PRINTF_INFINITE && NEED_PRINTF_LONG_DOUBLE
                arg_type type = a.arg[dp->arg_index].type;
+# endif
                int flags = dp->flags;
                int has_width;
                size_t width;