diff options
author | Peter Åstrand <astrand@cendio.se> | 2008-12-11 09:11:02 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2008-12-11 09:11:02 +0000 |
commit | ad4a8c7465f0fc6556d0794d43ae125fe543780c (patch) | |
tree | f24facef5bf7a8ee38d22d1dc805b1c7ab555f75 /win/vncviewer | |
parent | 9ae9d0f6c4256049fe292e39292ffb3c7a897932 (diff) | |
download | tigervnc-ad4a8c7465f0fc6556d0794d43ae125fe543780c.tar.gz tigervnc-ad4a8c7465f0fc6556d0794d43ae125fe543780c.zip |
Avoid using bResult variable uninitialized
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3384 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/vncviewer')
-rw-r--r-- | win/vncviewer/FileTransfer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncviewer/FileTransfer.cxx b/win/vncviewer/FileTransfer.cxx index cf57072f..5f7d734b 100644 --- a/win/vncviewer/FileTransfer.cxx +++ b/win/vncviewer/FileTransfer.cxx @@ -405,7 +405,7 @@ FileTransfer::procFileListDataMsg() FileInfo fileInfo; int res = m_pReader->readFileListData(&fileInfo); - bool bResult; + bool bResult = false; switch (m_queueFileListRqst.getFlagsAt(0)) { case FT_FLR_DEST_MAIN: |