summaryrefslogtreecommitdiff
path: root/gnulib-tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2016-05-03 20:56:20 -0700
committerJim Meyering <meyering@fb.com>2016-05-04 08:05:54 -0700
commit9a4df07016827fe130016b1c3a4adaf91c54c301 (patch)
tree6e29a1a8a63e24e48eda3d45661e88cf044fd541 /gnulib-tests
parentdc9146c4a2b947998b11c0995d017ca64a5583a1 (diff)
downloadcoreutils-9a4df07016827fe130016b1c3a4adaf91c54c301.tar.xz
maint: avoid new warning from gcc (GCC) 7.0.0 20160503 (experimental)
* src/id.c (main): When configured with --enable-gcc-warnings and using the very latest gcc built from git, building would fail with this: src/id.c:200:8: error: assuming signed overflow does not occur when \ simplifying conditional to constant [-Werror=strict-overflow] bool default_format = (just_user + just_group + just_group_list ^~~~~~~~~~~~~~ Rewrite to use bool-appropriate operators.
Diffstat (limited to 'gnulib-tests')
0 files changed, 0 insertions, 0 deletions