From ffe5e0b08eb981b862bab8220f0b9fcf48b7fc4f Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 5 Feb 2012 20:48:33 +0100 Subject: [PATCH] watch: remove unreachable code Signed-off-by: Sami Kerola --- watch.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/watch.c b/watch.c index 0bb62391..2408e176 100644 --- a/watch.c +++ b/watch.c @@ -707,7 +707,5 @@ int main(int argc, char *argv[]) usleep(interval * 1000000); } - endwin(); - - return EXIT_SUCCESS; + return EXIT_FAILURE; }