Initialize local variable, otherwise when ReaddUnselectedAddedFilesAfterCommit enable...
authorSup Yut Sum <ch3cooli@gmail.com>
Sat, 9 Feb 2013 11:04:46 +0000 (9 19:04 +0800)
committerSup Yut Sum <ch3cooli@gmail.com>
Sat, 9 Feb 2013 11:04:46 +0000 (9 19:04 +0800)
Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
src/TortoiseProc/RebaseDlg.cpp

index 070e5e8..25dcbb3 100644 (file)
@@ -1137,7 +1137,7 @@ void CRebaseDlg::OnBnClickedContinue()
 \r
                if (((DWORD)CRegStdDWORD(_T("Software\\TortoiseGit\\ReaddUnselectedAddedFilesAfterCommit"), TRUE)) == TRUE)\r
                {\r
-                       BOOL cancel;\r
+                       BOOL cancel = FALSE;\r
                        mgtReAddAfterCommit.Execute(cancel);\r
                }\r
 \r