From: george82 Date: Thu, 17 Aug 2006 09:57:43 +0000 (+0000) Subject: Init scaled_width and scaled_width by zero X-Git-Tag: v0.0.90~384^2~241 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f80971b36273d9c0d07e00b62f258db12ea13006;p=tigervnc.git 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 --- 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() {