From d11c91e7aa10c260c1dc5d978d1620a2b9be19e8 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Fri, 1 Feb 2013 15:42:59 +0000 Subject: [PATCH] Fix unused var warning-as-error git-svn-id: http://skia.googlecode.com/svn/trunk@7513 2bbb7eff-a529-9590-31e7-b0007b416f81 --- samplecode/SampleManyRects.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/samplecode/SampleManyRects.cpp b/samplecode/SampleManyRects.cpp index 04d8a41129..d5d71f4267 100644 --- a/samplecode/SampleManyRects.cpp +++ b/samplecode/SampleManyRects.cpp @@ -36,8 +36,6 @@ protected: virtual void onDrawContent(SkCanvas* canvas) { SkISize dsize = canvas->getDeviceSize(); - SkRect canvasRect = SkRect::MakeWH(SkIntToScalar(dsize.fWidth), - SkIntToScalar(dsize.fHeight)); canvas->clear(0xFFF0E0F0); for (int i = 0; i < N; ++i) {