Fix a warning about the control logic in xchomp()
This commit is contained in:
parent
cdf29ff45a
commit
a5089af726
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user