Don't hide a possibly buggy caller.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7325 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-04-27 00:12:08 +00:00
parent 7fb3685ba6
commit 374d175555

View File

@ -249,7 +249,7 @@ vsnprintf(char *buffer, size_t bufferSize, const char *format, va_list args)
/* min. # of digits for integers; max number of chars for from string */
int qualifier; /* 'h', 'l', or 'L' for integer fields */
if (buffer == NULL || bufferSize == 0)
if (bufferSize == 0)
return 0;
bytesLeft = ((int32)bufferSize - 1) & 0x7fffffff;