From 6c17a99a76a17b26c44468ff8178d927bf811ea1 Mon Sep 17 00:00:00 2001 From: "D. Richard Hipp" Date: Wed, 28 Mar 2018 21:45:03 +0000 Subject: [PATCH] Fix a harmless compiler warning. --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index 998fcb9ef7..be5a5e8b63 100644 --- a/src/main.c +++ b/src/main.c @@ -1507,6 +1507,8 @@ static int sqliteDefaultBusyCallback( return 1; } } +#else + UNUSED_PARAMETER(pFile); #endif assert( count>=0 ); if( count < NDELAY ){ @@ -1527,6 +1529,7 @@ static int sqliteDefaultBusyCallback( ** must be done in increments of whole seconds */ sqlite3 *db = (sqlite3 *)ptr; int tmout = ((sqlite3 *)ptr)->busyTimeout; + UNUSED_PARAMETER(pFile); if( (count+1)*1000 > tmout ){ return 0; } -- 2.11.4.GIT