From f80971b36273d9c0d07e00b62f258db12ea13006 Mon Sep 17 00:00:00 2001 From: george82 Date: Thu, 17 Aug 2006 09:57:43 +0000 Subject: [PATCH] Init scaled_width and scaled_width by zero 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/rfb/ScaledPixelBuffer.cxx b/common/rfb/ScaledPixelBuffer.cxx index e590580a..568b26bd 100644 --- a/common/rfb/ScaledPixelBuffer.cxx +++ b/common/rfb/ScaledPixelBuffer.cxx @@ -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() { -- 2.39.5