From 4823b1f428c5c883c521d08ee9377dfa7623e1cf Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sun, 20 Sep 2009 04:07:45 +0200 Subject: [PATCH] drop duplicate code --- src/conky.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/conky.c b/src/conky.c index 3bc4222e..fa346283 100644 --- a/src/conky.c +++ b/src/conky.c @@ -5987,12 +5987,8 @@ char load_config_file(const char *f) break; } } - fclose(fp); - if (strlen(global_text) < 1) { - CRIT_ERR(NULL, NULL, "no text supplied in configuration; exiting"); - } global_text_lines = line + 1; - return TRUE; + break; } #ifdef TCP_PORT_MONITOR CONF("max_port_monitor_connections") {