On Solaris 8, I'm seeing these warnings:
"./vasnprintf.c", line 2385: warning: argument #3 is incompatible with
prototype:
"./vasnprintf.c", line 2430: warning: argument #3 is incompatible with
prototype:
"./vasnprintf.c", line 2479: warning: argument #3 is incompatible with
prototype:
"./vasnp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Eric Blake on 11/4/2009 6:50 PM:
> According to Eric Blake on 10/30/2009 10:27 AM:
>> Bruno, is it okay to apply this patch to silence these compiler warnings?
>
>> * lib/vasnprintf.c (VASNPRINTF): Avoid shadowing our own local
>> variabl
Bruno, is it okay to apply this patch to silence these compiler warnings?
| vasnprintf.c:2378: warning: declaration of 'buf' shadows a previous local
| vasnprintf.c:1502: warning: shadowed declaration is here
Here, using two different local variables buf with different types and nested
scopes is