]> source.dussan.org Git - tigervnc.git/commitdiff
Removed the unnecessary variables.
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Mon, 20 Nov 2006 16:05:27 +0000 (16:05 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Mon, 20 Nov 2006 16:05:27 +0000 (16:05 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2119 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/ScaledPixelBuffer.cxx

index 820817e119df9940023b0f17a92127ccc3b88afa..d9a245bb5b0dea7fa80a046055447fec2f88e838 100644 (file)
@@ -110,7 +110,7 @@ inline U32 ScaledPixelBuffer::getSourcePixel(int x, int y) {
 }
 
 void ScaledPixelBuffer::scaleRect(const Rect& rect) {
-  U8 *src_ptr, *ptr;
+  U8 *ptr;
   static double c1_sub_dx, c1_sub_dy;
   Rect changed_rect;
   float rx, gx, bx;