diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-13 19:58:30 -0800 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-10 22:52:32 +0200 |
commit | 6165dafdae0eaac74e46ffffb1ea85fcaa7a96a4 (patch) | |
tree | 80b525738e274e163e4e4af3b726ab743dc3953f /nx-X11/lib/X11/GetStCmap.c | |
parent | 62e5b0ff80f91a66163386e2192bcb8e0b2d1721 (diff) | |
download | nx-libs-6165dafdae0eaac74e46ffffb1ea85fcaa7a96a4.tar.gz nx-libs-6165dafdae0eaac74e46ffffb1ea85fcaa7a96a4.tar.bz2 nx-libs-6165dafdae0eaac74e46ffffb1ea85fcaa7a96a4.zip |
makekeys: move buf declaration from global to main to silence gcc -Wshadow
The global was only referenced in the main() function, which passes it
as an argument of the same name to the parse_line() function, leading
to gcc -Wshadow warnings:
makekeys.c: In function ‘parse_line’:
makekeys.c:58:24: warning: declaration of ‘buf’ shadows a global declaration
makekeys.c:54:13: warning: shadowed declaration is here
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'nx-X11/lib/X11/GetStCmap.c')
0 files changed, 0 insertions, 0 deletions