From ad4a8c7465f0fc6556d0794d43ae125fe543780c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand?= Date: Thu, 11 Dec 2008 09:11:02 +0000 Subject: [PATCH] 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(-) 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: -- 2.39.5