[gimp] app: initialize variable



commit 16637900b6631d7bcd1afc621db2c6424c2a506d
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Sat Aug 16 02:54:57 2014 +0200

    app: initialize variable

 app/widgets/gimpaction-history.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpaction-history.c b/app/widgets/gimpaction-history.c
index da84b62..b317628 100644
--- a/app/widgets/gimpaction-history.c
+++ b/app/widgets/gimpaction-history.c
@@ -79,7 +79,7 @@ gimp_action_history_init (Gimp *gimp)
   GFile         *file;
   GScanner      *scanner;
   GTokenType     token;
-  gint           count;
+  gint           count = 0;
   gint           n_items = 0;
 
   g_return_if_fail (GIMP_IS_GIMP (gimp));


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