]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: avoid new sort.c warning from upcoming GCC11
authorJim Meyering <meyering@fb.com>
Sun, 25 Oct 2020 17:04:19 +0000 (10:04 -0700)
committerJim Meyering <meyering@fb.com>
Mon, 26 Oct 2020 14:47:36 +0000 (07:47 -0700)
commitcc816fb978113370ff9eac41891f256bf217dffc
tree2439896c05e50e462a23c1368802c8f8268b17b1
parent4278e6615f319c13799749c37990ffb39c733edf
maint: avoid new sort.c warning from upcoming GCC11

gcc version 11.0.0 20201025 (experimental) warns that
src/sort.c:1655:1: warning: function might be candidate for attribute \
  'pure' if it is known to return normally [-Wsuggest-attribute=pure]
* src/sort.c (limfield): Mark as pure.
src/sort.c