From: Pavel Roskin <proski@gnu.org>
To: Marco Costalba <mcostalba@yahoo.it>
Cc: git <git@vger.kernel.org>
Subject: [PATCH] qgit: patchesStillToFind not initialized
Date: Wed, 21 Dec 2005 20:19:36 -0500 [thread overview]
Message-ID: <1135214376.2253.2.camel@dv> (raw)
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
reply other threads:[~2005-12-22 1:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1135214376.2253.2.camel@dv \
--to=proski@gnu.org \
--cc=git@vger.kernel.org \
--cc=mcostalba@yahoo.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).