diff options
author | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2006-08-17 09:57:43 +0000 |
---|---|---|
committer | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2006-08-17 09:57:43 +0000 |
commit | f80971b36273d9c0d07e00b62f258db12ea13006 (patch) | |
tree | c48d89d5638ef334911762f1f45215aec3b7f11e /common | |
parent | e3341e7264eb5d2533cad338977fa26256b309ab (diff) | |
download | tigervnc-f80971b36273d9c0d07e00b62f258db12ea13006.tar.gz tigervnc-f80971b36273d9c0d07e00b62f258db12ea13006.zip |
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
Diffstat (limited to 'common')
-rw-r--r-- | common/rfb/ScaledPixelBuffer.cxx | 5 |
1 files 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() { |