diff options
author | 2013-03-07 20:52:59 +0000 | |
---|---|---|
committer | 2013-03-07 20:52:59 +0000 | |
commit | 9c55f801a35b0d6c39f007fae432bd13094f3c52 (patch) | |
tree | 67523b0ff3fb50f0346c3b7beb0a429304e71d7f /bench | |
parent | 428fc4a37b66ac927d5b8c3a2938e578ea70cbb8 (diff) |
Fixing some warnings on Linux
There were only a few warnings left, so I fixed them and enabled the unused variable warning by removing the "-Wno-unused" flag. Only the -Wno-unused-parameter remains for now (could be removed later).
Review URL: https://codereview.chromium.org/12480002
git-svn-id: http://skia.googlecode.com/svn/trunk@8030 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench')
-rw-r--r-- | bench/benchmain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp index 459f34038a..b16cca30cd 100644 --- a/bench/benchmain.cpp +++ b/bench/benchmain.cpp @@ -676,10 +676,10 @@ int tool_main(int argc, char** argv) { configName = gConfigs[configIndex].fName; backend = gConfigs[configIndex].fBackend; GrContext* context = NULL; - SkGLContextHelper* glContext = NULL; BenchTimer* timer = timers[configIndex]; #if SK_SUPPORT_GPU + SkGLContextHelper* glContext = NULL; if (kGPU_Backend == backend) { context = gContextFactory.get(gConfigs[configIndex].fContextType); if (NULL == context) { |