A fix for annoying clang error "unused-const-variabl" in third_party code.
../../third_party/externals/libwebp/src/enc/quant.c:105:23: error: unused variable 'kCoeffThresh' [-Werror,-Wunused-const-variable] static const uint16_t kCoeffThresh[16] = { ^ 1 error generated. BUG=None TEST=build with clang, ninja -C out/Debug most. R=bsalomon@google.com, epoger@google.com, thakis@chromium.org, mtklein@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/47603012 git-svn-id: http://skia.googlecode.com/svn/trunk@11990 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
ef923d4b80
commit
ea7e69a52e
@ -112,6 +112,7 @@
|
||||
'../third_party/externals/libwebp/src/enc/vp8l.c',
|
||||
'../third_party/externals/libwebp/src/enc/webpenc.c',
|
||||
],
|
||||
'cflags': [ '-w' ],
|
||||
},
|
||||
{
|
||||
'target_name': 'libwebp_utils',
|
||||
|
Loading…
Reference in New Issue
Block a user