mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
build: Enable -Werror on redundant declarations
Now that we've fixed our own errors.
This commit is contained in:
committed by
Bastien Nocera
parent
130d6cdb63
commit
72d8a0f512
@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user