[gtranslator] Fix warning.



commit 4223b673a1fa3cfd84768f96d725a02b79b719ac
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun Feb 14 21:52:59 2010 +0100

    Fix warning.

 src/gtr-utils.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gtr-utils.c b/src/gtr-utils.c
index e8635ec..b34915e 100644
--- a/src/gtr-utils.c
+++ b/src/gtr-utils.c
@@ -101,6 +101,7 @@ gtr_utils_split_string_in_words (const gchar * string)
   gint char_len;
   gint i = 0;
   gchar *s;
+  gchar *start = NULL;
   static gchar **badwords_collate = NULL;
 
   if (badwords_collate == NULL)
@@ -129,7 +130,7 @@ gtr_utils_split_string_in_words (const gchar * string)
   s = (gchar *) string;
   while (i <= char_len)
     {
-      gchar *start, *end;
+      gchar *end;
 
       if (attrs[i].is_word_start)
         start = s;



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