File 0007-Fix-the-missing-return-value-in-emacs_c.c.patch of Package timidity
From 5df279f92338f62440d686fb4874c69fe5cc57b9 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Wed, 30 May 2012 15:04:53 +0200
Subject: [PATCH 7/9] Fix the missing return value in emacs_c.c
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
interface/emacs_c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/interface/emacs_c.c b/interface/emacs_c.c
index 0d726c5..1f82e93 100644
--- a/interface/emacs_c.c
+++ b/interface/emacs_c.c
@@ -285,7 +285,7 @@ static int ctl_pass_playing_list(int argc, char *argv[])
int rc;
if(fgets(cmd, sizeof(cmd), stdin) == NULL)
- return; /* Emacs may down */
+ return 0; /* Emacs may down */
chomp(cmd);
if(!strncmp(cmd, "PLAY", 4))
{
--
1.7.9.2