Fix editor_command_path_parse().
authorLaurent Monin <geeqie@norz.org>
Mon, 9 Mar 2009 19:35:53 +0000 (19:35 +0000)
committerLaurent Monin <geeqie@norz.org>
Mon, 9 Mar 2009 19:35:53 +0000 (19:35 +0000)
src/editors.c

index 89d7e45..60a8277 100644 (file)
@@ -570,7 +570,7 @@ static gchar *editor_command_path_parse(const FileData *fd, PathType type, const
 {
        GString *string;
        gchar *pathl;
-       const gchar *p;
+       const gchar *p = NULL;
 
        string = g_string_new("");