mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Merge branch '796385-indentation' into 'master'
Fix misleading indentation (bug #796385) See merge request GNOME/glib!42
This commit is contained in:
commit
e03f83212d
@ -3508,7 +3508,7 @@ AC_ARG_ENABLE(compile-warnings,
|
||||
enable_compile_warnings=yes)
|
||||
AS_IF([test "x$enable_compile_warnings" != xno], [
|
||||
CC_CHECK_FLAGS_APPEND([GLIB_WARN_CFLAGS], [CFLAGS], [\
|
||||
-Wall -Wstrict-prototypes -Wduplicated-branches \
|
||||
-Wall -Wstrict-prototypes -Wduplicated-branches -Wmisleading-indentation \
|
||||
-Werror=declaration-after-statement \
|
||||
-Werror=missing-prototypes -Werror=implicit-function-declaration \
|
||||
-Werror=pointer-arith -Werror=init-self -Werror=format-security \
|
||||
|
@ -331,6 +331,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
|
||||
test_c_args = [
|
||||
'-Wall',
|
||||
'-Wduplicated-branches',
|
||||
'-Wmisleading-indentation',
|
||||
'-Wstrict-prototypes',
|
||||
'-Wunused',
|
||||
'-Werror=declaration-after-statement',
|
||||
|
Loading…
Reference in New Issue
Block a user