]> git.ipfire.org Git - thirdparty/openvpn.git/commit
configure: remove useless -Wno-* from default CFLAGS
authorAntonio Quartulli <a@unstable.cc>
Tue, 5 Oct 2021 12:27:36 +0000 (14:27 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 6 Oct 2021 09:58:10 +0000 (11:58 +0200)
commit64c96c003264fd69327bb54f7c28bb41b13d0ab7
treee302b6be48e6fd0359e7d16cdec8509d9c01b9e5
parentf397c3bfe728e0163fe6d226f62874e1dd25ec60
configure: remove useless -Wno-* from default CFLAGS

Historically we always had -Wno-unused-parameter and
-Wno-unused-function enabled along with -Wall.

When we made -Wall a default option, we carried the other two along and
made them default too (in 2018).

Now the code is much cleaner compared to the past and we do not really
require -Wno-unused-parameter and -Wno-unused-function anymore.

Actually they may hide really unused functions that we'd need to
cleanup.

For this reason remove -Wno-unused-parameter and -Wno-unused-function
for good from the default CFLAGS.

Any new warning should rather be fixed than hidden.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20211005122736.4060-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22917.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 01ce6ca39d1f4bf45dcd49baede0094c4c990d3b)
configure.ac