build: Enable -Wredundant-declarations
This commit is contained in:
@ -23,6 +23,7 @@ add_project_arguments(
|
|||||||
'-Winit-self',
|
'-Winit-self',
|
||||||
'-Wmaybe-uninitialized',
|
'-Wmaybe-uninitialized',
|
||||||
'-Wold-style-definition',
|
'-Wold-style-definition',
|
||||||
|
'-Wredundant-decls',
|
||||||
'-Wstrict-prototypes',
|
'-Wstrict-prototypes',
|
||||||
'-Wunused-function',
|
'-Wunused-function',
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user