aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-10-15 00:16:30 +0000
committerdrh <drh@noemail.net>2011-10-15 00:16:30 +0000
commit30ddce6ff427a2757cfca3ba1204a16937a6e293 (patch)
treea8d9af6dcf4049994c02b390b0f5e8ad2b56272c /src/os_unix.c
parent086e4913b5e0a959c50ee9ab135a22b7a23f479f (diff)
downloadsqlite-30ddce6ff427a2757cfca3ba1204a16937a6e293.tar.gz
sqlite-30ddce6ff427a2757cfca3ba1204a16937a6e293.zip
Added the tool/warnings-clang.sh script. Changes so that there are no
warnings with either gcc or clang even including FTS4 and RTREE and both with and without SQLITE_THREADSAFE=0. FossilOrigin-Name: 39408702a989f907261c298bf0947f3e68bd10fe
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 0236bf7cc..2e43eabf1 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -528,7 +528,7 @@ static int unixMutexHeld(void) {
#endif
-#ifdef SQLITE_DEBUG
+#if defined(SQLITE_TEST) && defined(SQLITE_DEBUG)
/*
** Helper function for printing out trace information from debugging
** binaries. This returns the string represetation of the supplied