mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 205346: fixed a compiler warning about a zero-length format string for
sprintf.
This commit is contained in:
parent
aa16f6222a
commit
05536f8c3a
@ -2495,7 +2495,7 @@ char *
|
||||
SECU_ErrorStringRaw(int16 err)
|
||||
{
|
||||
if (err == 0)
|
||||
sprintf(SECUErrorBuf, "");
|
||||
SECUErrorBuf[0] = '\0';
|
||||
else if (err == SEC_ERROR_BAD_DATA)
|
||||
sprintf(SECUErrorBuf, "Bad data");
|
||||
else if (err == SEC_ERROR_BAD_DATABASE)
|
||||
|
Loading…
Reference in New Issue
Block a user