1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

Changes to prevent various compiler warnings. (CVS 2750)

FossilOrigin-Name: e261b8b09a529a3e67dc27c3b83b660bcb32e195
This commit is contained in:
drh
2005-10-20 07:28:17 +00:00
parent b37df7b928
commit d9cb6ac02f
10 changed files with 32 additions and 36 deletions

View File

@@ -14,7 +14,7 @@
** This file contains functions for allocating memory, comparing
** strings, and stuff like that.
**
** $Id: util.c,v 1.147 2005/10/13 02:09:50 drh Exp $
** $Id: util.c,v 1.148 2005/10/20 07:28:19 drh Exp $
*/
#include "sqliteInt.h"
#include <stdarg.h>
@@ -440,7 +440,7 @@ void sqlite3SetString(char **pz, ...){
** to NULL.
*/
void sqlite3Error(sqlite3 *db, int err_code, const char *zFormat, ...){
if( db && (db->pErr || (db->pErr = sqlite3ValueNew())) ){
if( db && (db->pErr || (db->pErr = sqlite3ValueNew()))!=0 ){
db->errCode = err_code;
if( zFormat ){
char *z;