]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: avoid false positive warning with newer gcc
authorPádraig Brady <P@draigBrady.com>
Sun, 17 Dec 2023 17:13:31 +0000 (17:13 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 17 Dec 2023 17:19:29 +0000 (17:19 +0000)
commitc343bee1b5de6087b70fe80db9e1f81bb1fc535c
treeb02d9d9eb21c00b9f2f6c48d70544b2145a1f9f5
parent63e9f1ae61e4b48ab8fe505a7d9bd1ae092c1a32
maint: avoid false positive warning with newer gcc

* src/pr.c (read_line): GCC 13.2.1 can't discern that CHARS
is not used with '\n', so avoid the -Werror=maybe-uninitialized
issue in dev builds.
src/pr.c