diff options
author | Joseph Heenan <joseph@emobix.co.uk> | 2015-02-25 15:13:14 +0000 |
---|---|---|
committer | Joseph Heenan <joseph@emobix.co.uk> | 2015-02-25 16:06:04 +0000 |
commit | 5ac47f792e06091ae96bc30feb7d708ee5e077b1 (patch) | |
tree | d312eb1a25e0ba85e4aa842c051a86955bc97f97 /platform | |
parent | 5c0038c6b709ca920028b0b904793071f2d48283 (diff) | |
download | mupdf-5ac47f792e06091ae96bc30feb7d708ee5e077b1.tar.xz |
iOS: Disable empty body warning
This silences this warning:
thirdparty/jbig2dec/jbig2_text.c:899:73: warning: for loop has empty body [-Wempty-body]
for (SBSYMCODELEN = 0; (1 << SBSYMCODELEN) < SBNUMSYMS; SBSYMCODELEN++);
^
thirdparty/jbig2dec/jbig2_text.c:899:73: note: put the semicolon on a separate line to silence this warning
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/build_libs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/build_libs.sh b/platform/ios/build_libs.sh index 4882575b..77d1406a 100644 --- a/platform/ios/build_libs.sh +++ b/platform/ios/build_libs.sh @@ -14,7 +14,7 @@ fi export OS=ios export build=$(echo $CONFIGURATION | tr A-Z a-z) -FLAGS="-Wno-unused-function" +FLAGS="-Wno-unused-function -Wno-empty-body" for A in $ARCHS do FLAGS="$FLAGS -arch $A" |