diff --git a/src/sbbs3/websrvr.c b/src/sbbs3/websrvr.c
index fc9a971a35d7e09ea79e95cdfc48df8e57bb1d38..08d4652c8decf22efde115116e0f7c1429972ada 100644
--- a/src/sbbs3/websrvr.c
+++ b/src/sbbs3/websrvr.c
@@ -4624,7 +4624,6 @@ void http_logging_thread(void* arg)
 	char	filename[MAX_PATH+1];
 	char	newfilename[MAX_PATH+1];
 	FILE*	logfile=NULL;
-	int		pending;
 
 	http_logging_thread_running=TRUE;
 	terminate_http_logging_thread=FALSE;