Get rid of the following compile-time warning:

"src/shell.c:112: warning: 'iotracePrintf' defined but not used" (CVS 4188)

FossilOrigin-Name: 271e27fd30f3b99e6d6ad2fc2c6e87f43f4c76c8
This commit is contained in:
rse 2007-07-30 18:24:38 +00:00
parent eb5453d122
commit be0a909683
3 changed files with 13 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C Fix\sa\sbug\swith\sexplicit\scollation\ssequences\sattached\sto\sa\scolumn\sreference\sexpression\sthat\sis\son\sthe\sright-hand-side\sof\sa\sbinary\scomparison\soperator.\s(CVS\s4187)
D 2007-07-30T14:40:48
C Get\srid\sof\sthe\sfollowing\scompile-time\swarning:\n"src/shell.c:112:\swarning:\s'iotracePrintf'\sdefined\sbut\snot\sused"\s(CVS\s4188)
D 2007-07-30T18:24:39
F Makefile.in 0c0e53720f658c7a551046442dd7afba0b72bfbe
F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
@ -108,7 +108,7 @@ F src/printf.c 9b3048d270e8bb2f8b910b491ac3aadece6cfab2
F src/random.c 6119474a6f6917f708c1dee25b9a8e519a620e88
F src/select.c 3b167744fc375bddfddcef87feb18f5171737677
F src/server.c 087b92a39d883e3fa113cae259d64e4c7438bc96
F src/shell.c e7534cce78398bc1cac4a643e931fc6221c2897e
F src/shell.c d9e727be2c725639a861d6763bc9b290874dab7f
F src/sqlite.h.in 8164526b1658a6dad472953ea91239849f913d45
F src/sqlite3ext.h a27bedc222df5e5f0f458ac99726d0483b953a91
F src/sqliteInt.h 536fb651e1eed201c1eb5a852351f2866554c8b1
@ -523,7 +523,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
P a443b07ed659223401ee7acaf613d0b04f33fc89
R 458aee226dfdf7a5afbe0d8e6376ba28
U danielk1977
Z 5c9d36c082816d37f3d3ebee8a2c3d87
P 7b69968618bfc19f0c1ab25c5f16c9fdff5af094
R fee8592a6fe77d02742d379c188964b0
U rse
Z cc360687d10b52289112f10a8a70cbae

View File

@ -1 +1 @@
7b69968618bfc19f0c1ab25c5f16c9fdff5af094
271e27fd30f3b99e6d6ad2fc2c6e87f43f4c76c8

View File

@ -12,7 +12,7 @@
** This file contains code to implement the "sqlite" command line
** utility for accessing SQLite databases.
**
** $Id: shell.c,v 1.164 2007/07/03 05:31:16 danielk1977 Exp $
** $Id: shell.c,v 1.165 2007/07/30 18:24:39 rse Exp $
*/
#include <stdlib.h>
#include <string.h>
@ -101,7 +101,9 @@ static char continuePrompt[20]; /* Continuation prompt. default: " ...> " */
/*
** Write I/O traces to the following stream.
*/
#ifdef SQLITE_ENABLE_IOTRACE
static FILE *iotrace = 0;
#endif
/*
** This routine works like printf in that its first argument is a
@ -109,6 +111,7 @@ static FILE *iotrace = 0;
** in place of % fields. The result of formatting this string
** is written to iotrace.
*/
#ifdef SQLITE_ENABLE_IOTRACE
static void iotracePrintf(const char *zFormat, ...){
va_list ap;
char *z;
@ -119,6 +122,7 @@ static void iotracePrintf(const char *zFormat, ...){
fprintf(iotrace, "%s", z);
sqlite3_free(z);
}
#endif
/*