aboutsummaryrefslogtreecommitdiff
path: root/src/shell.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-11-20 17:59:59 +0000
committerdrh <drh@noemail.net>2016-11-20 17:59:59 +0000
commitc10b9dac840697b72c256252904d85d985da4b4c (patch)
tree51d86c38f605670d786967274f2822ba97e9f1d8 /src/shell.c
parent0f85b2ff0970391caf4629236d5bedcf55cc3b8d (diff)
downloadsqlite-c10b9dac840697b72c256252904d85d985da4b4c.tar.gz
sqlite-c10b9dac840697b72c256252904d85d985da4b4c.zip
Fix harmless compiler warnings.
FossilOrigin-Name: b3b7b42d9a4a0e7e2be8b2933328a7bec2f49a81
Diffstat (limited to 'src/shell.c')
-rw-r--r--src/shell.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shell.c b/src/shell.c
index aaba1080e..1cc4cc223 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -2583,6 +2583,8 @@ static FILE *output_file_open(const char *zFile){
return f;
}
+#if !defined(SQLITE_OMIT_BUILTIN_TEST)
+#if !defined(SQLITE_OMIT_TRACE) && !defined(SQLITE_OMIT_FLOATING_POINT)
/*
** A routine for handling output from sqlite3_trace().
*/
@@ -2603,6 +2605,8 @@ static int sql_trace_callback(
}
return 0;
}
+#endif
+#endif
/*
** A no-op routine that runs with the ".breakpoint" doc-command. This is