From ad4a8c7465f0fc6556d0794d43ae125fe543780c Mon Sep 17 00:00:00 2001 From: Peter Åstrand Date: Thu, 11 Dec 2008 09:11:02 +0000 Subject: Avoid using bResult variable uninitialized git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3384 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- win/vncviewer/FileTransfer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/vncviewer') 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: -- cgit v1.2.3