]> source.dussan.org Git - tigervnc.git/commitdiff
Avoid using bResult variable uninitialized
authorPeter Åstrand <astrand@cendio.se>
Thu, 11 Dec 2008 09:11:02 +0000 (09:11 +0000)
committerPeter Åstrand <astrand@cendio.se>
Thu, 11 Dec 2008 09:11:02 +0000 (09:11 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3384 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/vncviewer/FileTransfer.cxx

index cf57072f39317d82b8b1ee72fe67a0ff2602e3da..5f7d734b368e8ba835d0e04ba43b176348649ef0 100644 (file)
@@ -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: