changeset 253:b932b6928e20

Initialize variables, clearing a gcc warning.
author zas_
date Thu, 03 Apr 2008 22:39:50 +0000
parents 33d06ce2ec61
children 9faf34f047b1
files src/bar_info.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/bar_info.c	Thu Apr 03 22:33:28 2008 +0000
+++ b/src/bar_info.c	Thu Apr 03 22:39:50 2008 +0000
@@ -325,8 +325,10 @@
 
 gint comment_read(FileData *fd, GList **keywords, gchar **comment)
 {
-	GList *keywords1, *keywords2;
-	gchar *comment1, *comment2;
+	GList *keywords1 = NULL;
+	GList *keywords2 = NULL;
+	gchar *comment1 = NULL;
+	gchar *comment2 = NULL;
 	gint res1, res2;
 
 	if (!fd) return FALSE;