From ea7e69a52e80d0c7e6f3d45ecf1d0959114d486d Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Mon, 28 Oct 2013 22:05:12 +0000 Subject: 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 --- gyp/libwebp.gyp | 1 + 1 file changed, 1 insertion(+) (limited to 'gyp/libwebp.gyp') diff --git a/gyp/libwebp.gyp b/gyp/libwebp.gyp index 17e0026f2f..1f8689ada3 100644 --- a/gyp/libwebp.gyp +++ b/gyp/libwebp.gyp @@ -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', -- cgit v1.2.3