diff options
author | drh <drh@noemail.net> | 2015-01-25 20:19:53 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-01-25 20:19:53 +0000 |
commit | 1466e84187c15ee808a9f04e6da5a46086c4802b (patch) | |
tree | b425287452ad2adff2da097ed55b3c74b0ee89e6 /src/printf.c | |
parent | 81cda6460cb503680b96595b664c3bfbb89c9a59 (diff) | |
download | sqlite-1466e84187c15ee808a9f04e6da5a46086c4802b.tar.gz sqlite-1466e84187c15ee808a9f04e6da5a46086c4802b.zip |
The va_list argument cannot take on a NULL value and cannot be compared with
NULL on some platforms (ex: ARM). So do not attempt to do so.
FossilOrigin-Name: 1964e656b4b420e8d6a4ba12d270ed02db292b88
Diffstat (limited to 'src/printf.c')
-rw-r--r-- | src/printf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/printf.c b/src/printf.c index 428c959cc..8291002db 100644 --- a/src/printf.c +++ b/src/printf.c @@ -212,13 +212,6 @@ void sqlite3VXPrintf( PrintfArguments *pArgList = 0; /* Arguments for SQLITE_PRINTF_SQLFUNC */ char buf[etBUFSIZE]; /* Conversion buffer */ -#ifdef SQLITE_ENABLE_API_ARMOR - if( ap==0 ){ - (void)SQLITE_MISUSE_BKPT; - sqlite3StrAccumReset(pAccum); - return; - } -#endif bufpt = 0; if( bFlags ){ if( (bArgList = (bFlags & SQLITE_PRINTF_SQLFUNC))!=0 ){ |