aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorshane <shane@noemail.net>2009-06-01 16:53:09 +0000
committershane <shane@noemail.net>2009-06-01 16:53:09 +0000
commitcf6973963aabbd79cb4263a3767c99ea4253b86b (patch)
tree0ece7905ffd24f122b7e64f8cd8ba88bb8a92910 /src/main.c
parent739a277031a0c2d3ece893f9a8e6277fc7e65f65 (diff)
downloadsqlite-cf6973963aabbd79cb4263a3767c99ea4253b86b.tar.gz
sqlite-cf6973963aabbd79cb4263a3767c99ea4253b86b.zip
Fix compiler warnings with MSVC build. (CVS 6699)
FossilOrigin-Name: 0791588520603d106aa0b8ce24d68b740b7b80c8
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 83000c144..941322a07 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
-** $Id: main.c,v 1.554 2009/05/22 10:53:29 drh Exp $
+** $Id: main.c,v 1.555 2009/06/01 16:53:10 shane Exp $
*/
#include "sqliteInt.h"
@@ -1192,7 +1192,8 @@ int sqlite3TempInMemory(const sqlite3 *db){
#endif
#if SQLITE_TEMP_STORE==3
return 1;
-#else
+#endif
+#if SQLITE_TEMP_STORE<1 || SQLITE_TEMP_STORE>3
return 0;
#endif
}