aboutsummaryrefslogtreecommitdiff
path: root/src/callback.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2005-10-20 07:28:17 +0000
committerdrh <drh@noemail.net>2005-10-20 07:28:17 +0000
commitd9cb6ac02f783873152877b77b0ac67f9c327008 (patch)
tree7a73e473495a53f2905104e41b00b952fdb324e2 /src/callback.c
parentb37df7b928122d1632573f577522e6fa36538102 (diff)
downloadsqlite-d9cb6ac02f783873152877b77b0ac67f9c327008.tar.gz
sqlite-d9cb6ac02f783873152877b77b0ac67f9c327008.zip
Changes to prevent various compiler warnings. (CVS 2750)
FossilOrigin-Name: e261b8b09a529a3e67dc27c3b83b660bcb32e195
Diffstat (limited to 'src/callback.c')
-rw-r--r--src/callback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/callback.c b/src/callback.c
index 8b585a11f..7884a8167 100644
--- a/src/callback.c
+++ b/src/callback.c
@@ -13,7 +13,7 @@
** This file contains functions used to access the internal hash tables
** of user defined functions and collation sequences.
**
-** $Id: callback.c,v 1.3 2005/08/14 01:20:38 drh Exp $
+** $Id: callback.c,v 1.4 2005/10/20 07:28:18 drh Exp $
*/
#include "sqliteInt.h"
@@ -286,7 +286,7 @@ FuncDef *sqlite3FindFunction(
** new entry to the hash table and return it.
*/
if( createFlag && bestmatch<6 &&
- (pBest = sqliteMalloc(sizeof(*pBest)+nName)) ){
+ (pBest = sqliteMalloc(sizeof(*pBest)+nName))!=0 ){
pBest->nArg = nArg;
pBest->pNext = pFirst;
pBest->iPrefEnc = enc;