From a5089af726b6a4f833b95a31274743c994277e20 Mon Sep 17 00:00:00 2001 From: David Nusinow Date: Thu, 11 Oct 2007 22:24:31 -0400 Subject: [PATCH] Fix a warning about the control logic in xchomp() --- hw/xfree86/common/xf86AutoConfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c index 3630041ae..2b44e6d8b 100644 --- a/hw/xfree86/common/xf86AutoConfig.c +++ b/hw/xfree86/common/xf86AutoConfig.c @@ -284,8 +284,8 @@ xchomp(char *line) len = strlen(line); if (line[len - 1] == '\n' && len > 0) { line[len - 1] = '\0'; - return 0; } + return 0; } GDevPtr