[gtranslator] Fix warning.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtranslator] Fix warning.
- Date: Sun, 14 Feb 2010 20:53:12 +0000 (UTC)
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]