Fix a bug in win32 command-line client introduced during efforts to reduce

the number of harmless compiler warnings (check-in (5982).) (CVS 5992)

FossilOrigin-Name: 6c0b2e7579ee5504617831a5e8bb6193e283ad30
This commit is contained in:
drh
2008-12-08 18:27:31 +00:00
parent 1875f7a3db
commit e91d16be4d
3 changed files with 12 additions and 14 deletions
+5 -7
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.190 2008/12/05 17:17:08 drh Exp $
** $Id: shell.c,v 1.191 2008/12/08 18:27:31 drh Exp $
*/
#include <stdlib.h>
#include <string.h>
@@ -66,12 +66,6 @@ extern int isatty();
#include <sys/time.h>
#include <sys/resource.h>
/*
** Used to prevent warnings about unused parameters
*/
#define UNUSED_PARAMETER(x) (void)(x)
/* Saved resource information for the beginning of an operation */
static struct rusage sBegin;
@@ -114,6 +108,10 @@ static void endTimer(void){
#define HAS_TIMER 0
#endif
/*
** Used to prevent warnings about unused parameters
*/
#define UNUSED_PARAMETER(x) (void)(x)
/*
** If the following flag is set, then command execution stops