From 0292935cd4cdad59d6151acdadb00a77e1945cd9 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Fri, 6 May 2011 13:12:38 +0000 Subject: [PATCH] remove unused var, fixes warning git-svn-id: http://skia.googlecode.com/svn/trunk@1265 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gpu/src/GrGpuGLShaders.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/gpu/src/GrGpuGLShaders.cpp b/gpu/src/GrGpuGLShaders.cpp index c977ea4c7e..b914221946 100644 --- a/gpu/src/GrGpuGLShaders.cpp +++ b/gpu/src/GrGpuGLShaders.cpp @@ -374,7 +374,6 @@ void GrGpuGLShaders::flushRadial2(int s) { } void GrGpuGLShaders::flushTexelSize(int s) { - const GrSamplerState& sampler = fCurrDrawState.fSamplerStates[s]; const int& uni = fProgramData->fUniLocations.fStages[s].fNormalizedTexelSizeUni; if (-1 != uni) { GrGLTexture* texture = (GrGLTexture*) fCurrDrawState.fTextures[s];