git » libfiu » commit c16e443

libfiu: Remove unused code

author Alberto Bertogli
2009-07-23 15:26:30 UTC
committer Alberto Bertogli
2009-07-23 17:53:37 UTC
parent 36eb5a862f13c6f6d623e94edf98b651359a7d7e

libfiu: Remove unused code

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

libfiu/fiu-rc.c +1 -6

diff --git a/libfiu/fiu-rc.c b/libfiu/fiu-rc.c
index a0491de..3a9151b 100644
--- a/libfiu/fiu-rc.c
+++ b/libfiu/fiu-rc.c
@@ -137,8 +137,6 @@ static int rc_process_cmd(char *cmd)
 	} else {
 		return -1;
 	}
-
-	return 0;
 }
 
 /* Read remote control directives from fdr and process them, writing the
@@ -222,10 +220,7 @@ reopen:
 		}
 	}
 
-	close(fdr);
-	close(fdw);
-
-	return NULL;
+	/* we never get here */
 }
 
 static void fifo_atexit(void)