android: Suppress compiler warnings about missing field initializers
authorTobias Brunner <tobias@strongswan.org>
Fri, 13 Nov 2015 17:22:48 +0000 (18:22 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 13 Nov 2015 17:24:45 +0000 (18:24 +0100)
Triggered by -Wextra for many INIT usages where we only partially
initialize a struct.

src/frontends/android/app/src/main/jni/Android.mk

index 1fb233b..d2c6480 100644 (file)
@@ -32,6 +32,7 @@ strongswan_CFLAGS := \
        -Wno-sign-compare \
        -Wno-strict-aliasing \
        -Wno-unused-parameter \
+       -Wno-missing-field-initializers \
        -DHAVE___BOOL \
        -DHAVE_STDBOOL_H \
        -DHAVE_ALLOCA_H \