diff options
author | David Nusinow <dnusinow@debian.org> | 2007-10-11 22:24:31 -0400 |
---|---|---|
committer | David Nusinow <dnusinow@debian.org> | 2007-10-11 22:24:31 -0400 |
commit | a5089af726b6a4f833b95a31274743c994277e20 (patch) | |
tree | 2a8a13da4e6e214b949172290c984b6201cf9651 /hw/xfree86/common/xf86AutoConfig.c | |
parent | cdf29ff45a3cb45573c9d0cb8f82e6ee97953fb5 (diff) |
Fix a warning about the control logic in xchomp()
Diffstat (limited to 'hw/xfree86/common/xf86AutoConfig.c')
-rw-r--r-- | hw/xfree86/common/xf86AutoConfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |