From: Peter Åstrand Date: Thu, 11 Dec 2008 09:11:02 +0000 (+0000) Subject: Avoid using bResult variable uninitialized X-Git-Tag: v0.0.90~289 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ad4a8c7465f0fc6556d0794d43ae125fe543780c;p=tigervnc.git Avoid using bResult variable uninitialized git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3384 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- 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: