Fix some warnings from clang.

This commit is contained in:
Olaf Seibert
2015-05-20 22:54:26 +02:00
parent 59711f17f2
commit 6c992f6406
4 changed files with 5 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ char *skipdelim_comma(
int *comma)
{
cp = skipwhite(cp);
if (*comma = (*cp == ',')) {
if ((*comma = (*cp == ','))) {
cp = skipwhite(cp + 1);
}
return cp;