From 48552314f6d101f3fd094d5f2fd6f70fe9aad841 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Tue, 26 Mar 2013 21:48:58 +0000 Subject: Fix a few clang errors while trying to build tools target. Most of the errors were like: ../../src/gpu/gl/GrGLEffectMatrix.cpp:74:9: error: variable 'varyingType' is used uninitialized whenever switch default is taken [-Werror,-Wsometimes-uninitialized] ../../src/gpu/gl/debug/GrDebugGL.h:125:21: error: private field 'fMaxTextureUnits' is not used [-Werror,-Wunused-private-field] ../../src/core/SkBitmapSampler.cpp:312:25: error: private field 'fProcTable' is not used [-Werror,-Wunused-private-field] R=bsalomon@google.com,scroggo@google.com Review URL: https://codereview.chromium.org/12915007 git-svn-id: http://skia.googlecode.com/svn/trunk@8403 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkUtils.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'include/core') diff --git a/include/core/SkUtils.h b/include/core/SkUtils.h index 66655d44f3..e29367dc22 100644 --- a/include/core/SkUtils.h +++ b/include/core/SkUtils.h @@ -114,20 +114,4 @@ private: const char* fLabel; }; -/////////////////////////////////////////////////////////////////////////////// - -class SkAutoMemoryUsageProbe { -public: - /** Record memory usage in constructor, and dump the result - (delta and current total) in the destructor, with the optional - label. NOTE: label contents are not copied, just the ptr is - retained, so DON'T DELETE IT. - */ - SkAutoMemoryUsageProbe(const char label[]); - ~SkAutoMemoryUsageProbe(); -private: - const char* fLabel; - size_t fBytesAllocated; -}; - #endif -- cgit v1.2.3