build: Enable -Werror on redundant declarations

Now that we've fixed our own errors.
This commit is contained in:
Marco Trevisan (Treviño)
2020-01-27 19:11:39 +01:00
committed by Bastien Nocera
parent 130d6cdb63
commit 72d8a0f512

View File

@ -40,6 +40,7 @@ common_cflags = cc.get_supported_arguments([
'-Werror=missing-braces', '-Werror=missing-braces',
'-Werror=nonnull', '-Werror=nonnull',
'-Werror=pointer-to-int-cast', '-Werror=pointer-to-int-cast',
'-Werror=redundant-decls',
'-Werror=return-type', '-Werror=return-type',
'-Werror=sequence-point', '-Werror=sequence-point',
'-Werror=trigraphs', '-Werror=trigraphs',