From 38246f7fea47c8b64ae09ee465a166d62258afb8 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Fri, 20 May 2011 01:06:48 -0500 Subject: [PATCH] silence warnings --- src/Sprite.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Sprite.cpp b/src/Sprite.cpp index ffd16e6d32..b38765218e 100644 --- a/src/Sprite.cpp +++ b/src/Sprite.cpp @@ -855,9 +855,6 @@ void Sprite::ScaleToClipped( float fWidth, float fHeight ) float fScaleFudgePercent = 0.15f; // scale up to this amount in one dimension to avoid clipping. - int iSourceWidth = m_pTexture->GetSourceWidth(); - int iSourceHeight = m_pTexture->GetSourceHeight(); - // save the original X and Y. We're going to restore them later. float fOriginalX = GetX(); float fOriginalY = GetY(); @@ -919,9 +916,6 @@ void Sprite::CropTo( float fWidth, float fHeight ) if( !m_pTexture ) return; - int iSourceWidth = m_pTexture->GetSourceWidth(); - int iSourceHeight = m_pTexture->GetSourceHeight(); - // save the original X&Y. We're going to restore them later. float fOriginalX = GetX(); float fOriginalY = GetY();