]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: pr: avoid new GCC 7 warning
authorJim Meyering <meyering@fb.com>
Wed, 14 Sep 2016 18:48:33 +0000 (11:48 -0700)
committerJim Meyering <meyering@fb.com>
Sat, 15 Oct 2016 15:41:42 +0000 (08:41 -0700)
commit0d9323ec551ae3de965167247c32dc4d6a407862
tree9fb52cff0046e11b4a98ec982c5f1c62529110af
parent1d5fe84b4eabb54bf0847eaf83a15c2dae21d2f6
maint: pr: avoid new GCC 7 warning

* src/pr.c (main): Avoid this warning from GCC 7:
src/pr.c:1119:6: error: assuming signed overflow does not occur when \
  simplifying conditional to constant [-Werror=strict-overflow]
   if (n_files == 0)
src/pr.c