]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: revert -Wmaybe-uninitialized warnings avoidance
authorPádraig Brady <P@draigBrady.com>
Fri, 19 May 2023 06:57:36 +0000 (07:57 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 19 May 2023 08:58:50 +0000 (09:58 +0100)
commitba0527d4cad6ce4e2b153c553ce87dd0a2c4c353
treef610d8a5b08762541fe82d71d317a731578c288b
parent800c86d5fa6ed32026e33d9db56739b0c696c40e
build: revert -Wmaybe-uninitialized warnings avoidance

This reverts commit 800c86d5, as that was deemed too invasive.
We do keep the change to tee.c to allow using -O3 without warnings.
For other optimization options like -O0, -Og, -O1, -Os,
one can use WERROR_CFLAGS= to stop warnings inducing a build failure.
src/copy.c
src/cp.c
src/digest.c
src/head.c
src/ln.c
src/paste.c
src/pr.c
src/sort.c