From 9e6977f39e04f9700b1923f7167331f59cb711ae Mon Sep 17 00:00:00 2001 From: Alf Wachsmann Date: Thu, 29 Jul 2004 05:09:18 +0000 Subject: [PATCH] afsmonitor-remove-pointless-if-20040729 FIXES 5933 an if in an else which will always trigger is dumb --- src/afsmonitor/afsmonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afsmonitor/afsmonitor.c b/src/afsmonitor/afsmonitor.c index 10be1b771..14ca3da06 100644 --- a/src/afsmonitor/afsmonitor.c +++ b/src/afsmonitor/afsmonitor.c @@ -898,7 +898,7 @@ parse_threshEntry(a_line) fprintf(stderr, "[ %s ] Programming error 2\n", rn); return (-1); } - } else if ((strcasecmp(arg1, "cm")) != 0 && (strcasecmp(arg1, "cm")) != 0) { + } else { fprintf(stderr, "[ %s ] Syntax error. Second argument should be \"fs\" or \"cm\" \n", rn); -- 2.39.5