summaryrefslogtreecommitdiff
path: root/tests/misc/seq.pl
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2015-06-29 10:25:07 -0700
committerJim Meyering <meyering@fb.com>2015-06-29 11:11:49 -0700
commit46416bb7c365e4faf44152dd66094c726dc714c8 (patch)
tree43f03c5fd061d857692157d1b7a7c04de7d73be6 /tests/misc/seq.pl
parentbadecb3f6ce21e9ad12402d4dd96d9a532499710 (diff)
downloadcoreutils-46416bb7c365e4faf44152dd66094c726dc714c8.tar.xz
build: numfmt.c: avoid a shadowing warning
* src/numfmt.c (parse_field_arg): Rename parameter s/optarg/arg/, to avoid shadowing getopt's global variable. Otherwise, building on OS X, with --enable-gcc-warnings, I saw this: In file included from src/numfmt.c:19:0: src/numfmt.c: In function 'parse_field_arg': ./lib/config.h:3109:25: error: declaration of 'rpl_optarg' shadows\ a global declaration [-Werror=shadow]
Diffstat (limited to 'tests/misc/seq.pl')
0 files changed, 0 insertions, 0 deletions