summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6e0f499)
raw | patch | inline | side by side (parent: 6e0f499)
author | Max Kellermann <max@duempel.org> | |
Thu, 11 Apr 2013 07:30:37 +0000 (09:30 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Thu, 11 Apr 2013 07:32:26 +0000 (09:32 +0200) |
Avoids the clang warning due to uninitialized "status".
src/screen_lyrics.c | patch | blob | history |
diff --git a/src/screen_lyrics.c b/src/screen_lyrics.c
index 881db2989421b27682959df75a5331a15276e268..066fe6edc2ab69baaaf04031dae5f4f574f7596e 100644 (file)
--- a/src/screen_lyrics.c
+++ b/src/screen_lyrics.c
pid_t pid = fork();
if (pid == -1) {
screen_status_printf(("%s (%s)"), _("Can't start editor"), g_strerror(errno));
+ ncu_init();
+ return;
} else if (pid == 0) {
char path[1024];
path_lyr_file(path, sizeof(path), current.artist, current.title);