diff options
author | drh <drh@noemail.net> | 2018-01-24 12:14:43 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-01-24 12:14:43 +0000 |
commit | b9f4799b5523e479078db4e23ab73b07a9905ebc (patch) | |
tree | 5be36bbe5a1f39f7a463b827bab744c48eb309c4 /src | |
parent | 93117f0c4ba23d977f143a83cd1a34656b457d47 (diff) | |
download | sqlite-b9f4799b5523e479078db4e23ab73b07a9905ebc.tar.gz sqlite-b9f4799b5523e479078db4e23ab73b07a9905ebc.zip |
Prevent a harmless unused variable warning when compiling with
SQLITE_OMIT_TRACE.
FossilOrigin-Name: 61a44961b5811c993ae8d4f820a21a0ee739fe5e88cbfe5e4190e0091912ca19
Diffstat (limited to 'src')
-rw-r--r-- | src/vdbe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vdbe.c b/src/vdbe.c index 8d0b35a6f..81a2361a5 100644 --- a/src/vdbe.c +++ b/src/vdbe.c @@ -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. |