[libgit2-glib] Added missing variable initialization



commit fa7914e199dbd3966bb8f5bc3ed1731ced6599c7
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Tue Oct 30 10:31:54 2012 +0100

    Added missing variable initialization

 libgit2-glib/ggit-config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgit2-glib/ggit-config.c b/libgit2-glib/ggit-config.c
index 32e2734..2716f13 100644
--- a/libgit2-glib/ggit-config.c
+++ b/libgit2-glib/ggit-config.c
@@ -488,7 +488,7 @@ callback_wrapper (const git_config_entry *config_entry,
 {
 	CallbackWrapperData *wrapper_data = (CallbackWrapperData *)payload;
 	GgitConfigEntry *entry;
-	gint ret;
+	gint ret = 0;
 
 	entry = _ggit_config_entry_wrap (config_entry);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]