]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hardlink, wall: fix variable shadowing
authorSami Kerola <kerolasa@iki.fi>
Sat, 9 Feb 2019 08:47:43 +0000 (08:47 +0000)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Feb 2019 12:20:34 +0000 (13:20 +0100)
commit123eb9ef8cb8dea88a57d86681524e78fdb5e104
tree70ab03aa85fa90ce6e6867f11e8b601fc6c20e1b
parent4813a5210f6fb979d8f7a592f71a2f9c4d3db179
hardlink, wall: fix variable shadowing

misc-utils/hardlink.c:91:65: warning: declaration shadows a variable in the global scope [-Wshadow]
misc-utils/hardlink.c:73:5: note: previous declaration is here
int content_only = 0;

term-utils/wall.c:114:40: warning: declaration shadows a variable in the global scope [-Wshadow]
term-utils/wall.c:129:65: warning: declaration shadows a variable in the global scope [-Wshadow]
/usr/include/bits/getopt_core.h:36:14: note: previous declaration is here
extern char *optarg;

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/hardlink.c
term-utils/wall.c