diff options
author | Jim Meyering <meyering@fb.com> | 2015-06-29 10:25:07 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2015-06-29 11:11:49 -0700 |
commit | 46416bb7c365e4faf44152dd66094c726dc714c8 (patch) | |
tree | 43f03c5fd061d857692157d1b7a7c04de7d73be6 /tests/pr/FnFn | |
parent | badecb3f6ce21e9ad12402d4dd96d9a532499710 (diff) | |
download | coreutils-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/pr/FnFn')
0 files changed, 0 insertions, 0 deletions