Unused functions in testfixture.exe with certain defines. (CVS 5172)
FossilOrigin-Name: 5e3ff1bb37f7fbdc9b1414232bd78f096f89eced
diff --git a/src/test_malloc.c b/src/test_malloc.c
index 43bbfc2..da2a7b5 100644
--- a/src/test_malloc.c
+++ b/src/test_malloc.c
@@ -13,7 +13,7 @@
** This file contains code used to implement test interfaces to the
** memory allocation subsystem.
**
-** $Id: test_malloc.c,v 1.22 2008/03/28 15:44:10 danielk1977 Exp $
+** $Id: test_malloc.c,v 1.23 2008/05/29 02:57:48 shane Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@@ -517,6 +517,7 @@
int nByte;
};
+#ifdef SQLITE_MEMDEBUG
static void test_memdebug_callback(int nByte, int nFrame, void **aFrame){
if( mallocLogEnabled ){
MallocLog *pLog;
@@ -545,6 +546,7 @@
pLog->nByte += nByte;
}
}
+#endif /* SQLITE_MEMDEBUG */
static void test_memdebug_log_clear(){
Tcl_HashSearch search;