* [PATCH] qgit: patchesStillToFind not initialized
@ 2005-12-22 1:19 Pavel Roskin
0 siblings, 0 replies; only message in thread
From: Pavel Roskin @ 2005-12-22 1:19 UTC (permalink / raw)
To: Marco Costalba; +Cc: git
Git::patchesStillToFind is not initialized on non-StGit repositories.
Found by Valgrind.
Signed-off-by: Pavel Roskin <proski@gnu.org>
diff --git a/src/git_startup.cpp b/src/git_startup.cpp
index 35dcaf7..307517f 100644
--- a/src/git_startup.cpp
+++ b/src/git_startup.cpp
@@ -473,6 +473,7 @@ bool Git::init(QString* repoDir, bool as
if (!startGetFileProc())
qDebug("ERROR: unable to start background git-diff-tree");
+ patchesStillToFind = 0;
if (isStGIT && !filteredLoading) { // updated by getRefs()
POST_MSG(msg1 + "StGIT patches...");
if (getStGITPatches()) {
--
Regards,
Pavel Roskin
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-22 1:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-22 1:19 [PATCH] qgit: patchesStillToFind not initialized Pavel Roskin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).