]> source.dussan.org Git - tigervnc.git/commitdiff
Init scaled_width and scaled_width by zero
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Thu, 17 Aug 2006 09:57:43 +0000 (09:57 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Thu, 17 Aug 2006 09:57:43 +0000 (09:57 +0000)
in the ScaledPixelBuffer default constructor.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@642 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/ScaledPixelBuffer.cxx

index e590580a721ee3cd7b1fc31c5250c142eff6b707..568b26bdb460fe7221e5f8f233fd6b6f9c0a1c90 100644 (file)
@@ -36,8 +36,9 @@ ScaledPixelBuffer::ScaledPixelBuffer(U8 **src_data_, int src_width_,
 }
 
 ScaledPixelBuffer::ScaledPixelBuffer() 
-  : src_data(0), src_width(0), src_height(0), scale_ratio(1),
-    pf(PixelFormat(32,24,0,1,255,255,255,0,8,16)), scaled_data(0) {
+  : src_data(0), src_width(0), src_height(0), scale_ratio(1), scaled_width(0), 
+    scaled_height(0), pf(PixelFormat(32,24,0,1,255,255,255,0,8,16)), 
+    scaled_data(0) {
 }
 
 ScaledPixelBuffer::~ScaledPixelBuffer() {