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:
parent
7fb3685ba6
commit
374d175555
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user