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

Define the sqliteMalloc() macro differently to avoid a compiler warning. (CVS 2809)

FossilOrigin-Name: 3d177bde71811391f79f4ab3bae054ef1bceb6a0
This commit is contained in:
danielk1977
2005-12-09 14:39:04 +00:00
parent 2e588c7525
commit 97cb2e969b
6 changed files with 32 additions and 21 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.150 2005/12/09 14:25:09 danielk1977 Exp $
** $Id: util.c,v 1.151 2005/12/09 14:39:04 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include <stdarg.h>
@@ -1214,7 +1214,7 @@ static SqliteTsd tsd = {
#ifndef NDEBUG
, 1 /* mallocAllowed flag */
#endif
#ifndef SQLITE_MEMDEBUG
#ifdef SQLITE_MEMDEBUG
, 0
, 0
, 0