1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Prevent a harmless unused variable warning when compiling with

SQLITE_OMIT_TRACE.

FossilOrigin-Name: 61a44961b5811c993ae8d4f820a21a0ee739fe5e88cbfe5e4190e0091912ca19
This commit is contained in:
drh
2018-01-24 12:14:43 +00:00
parent 93117f0c4b
commit b9f4799b55
3 changed files with 10 additions and 8 deletions

View File

@@ -7107,8 +7107,10 @@ case OP_Function: {
*/
case OP_Trace:
case OP_Init: { /* jump */
char *zTrace;
int i;
#ifndef SQLITE_OMIT_TRACE
char *zTrace;
#endif
/* If the P4 argument is not NULL, then it must be an SQL comment string.
** The "--" string is broken up to prevent false-positives with srcck1.c.