[gitg] Fixed bug in uninitialized value for revert result
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Fixed bug in uninitialized value for revert result
- Date: Fri, 12 Mar 2010 07:57:57 +0000 (UTC)
commit 747be60b24c4c61c39d6147edfd1363d999d2e6f
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Fri Mar 12 08:57:31 2010 +0100
Fixed bug in uninitialized value for revert result
gitg/gitg-commit-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-commit-view.c b/gitg/gitg-commit-view.c
index d4e4a2a..0888cdd 100644
--- a/gitg/gitg-commit-view.c
+++ b/gitg/gitg-commit-view.c
@@ -1645,7 +1645,7 @@ on_stage_changes(GtkAction *action, GitgCommitView *view)
static void
do_revert_changes(GitgCommitView *view)
{
- gboolean ret;
+ gboolean ret = TRUE;
if (view->priv->context_type == CONTEXT_TYPE_FILE)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]