Commit 638e22ac authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Clarify code a tiny bit, making it more understandable for FlexeLint

parent ba516000
......@@ -154,13 +154,10 @@ VRT_StringList(char *d, unsigned dl, const char *p, va_list ap)
}
p = va_arg(ap, const char *);
}
if (b < e)
*b = '\0';
b++;
if (b > e)
if (b >= e)
return (NULL);
else
return (b);
*b++ = '\0';
return (b);
}
/*--------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment