summaryrefslogtreecommitdiffstats
path: root/ppapi
diff options
context:
space:
mode:
authormgiuca <mgiuca@chromium.org>2015-07-07 21:08:24 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-08 04:09:00 +0000
commit88867d310fc297151344fcf294d23554371b2644 (patch)
tree5e5b72209031531800ce46ee19a8b2e8b5b7920a /ppapi
parentf3c539b18f4e90349ebb3add169abe8478262b58 (diff)
downloadchromium_src-88867d310fc297151344fcf294d23554371b2644.zip
chromium_src-88867d310fc297151344fcf294d23554371b2644.tar.gz
chromium_src-88867d310fc297151344fcf294d23554371b2644.tar.bz2
Fixed all unused-variable Clang warnings on Windows.
Usually, fixed by removing the unused variables. Some variables had to be guarded by #ifs. Some variables could be used instead. Also removed unused test file sweep02_16b_mono_16KHz.raw. BUG=505319 TBR=rpaquay@chromium.org Review URL: https://codereview.chromium.org/1220133003 Cr-Commit-Position: refs/heads/master@{#337767}
Diffstat (limited to 'ppapi')
-rw-r--r--ppapi/proxy/video_decoder_resource_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/proxy/video_decoder_resource_unittest.cc b/ppapi/proxy/video_decoder_resource_unittest.cc
index 7716940..c07f3b0 100644
--- a/ppapi/proxy/video_decoder_resource_unittest.cc
+++ b/ppapi/proxy/video_decoder_resource_unittest.cc
@@ -31,7 +31,9 @@ const uint32_t kShmSize = 256;
const size_t kDecodeBufferSize = 16;
const uint32_t kDecodeId = 5;
const uint32_t kTextureId1 = 1;
+#if !defined(OS_WIN) || !defined(ARCH_CPU_64_BITS)
const uint32_t kTextureId2 = 2;
+#endif
const uint32_t kNumRequestedTextures = 2;
class MockCompletionCallback {