diff --git a/src/sbbs3/websrvr.c b/src/sbbs3/websrvr.c
index 4c4848909d8b2af53345b5a159af7989e6e48fa2..cdf8cc6a137f9336f82cd31d947107d55e01d8bd 100644
--- a/src/sbbs3/websrvr.c
+++ b/src/sbbs3/websrvr.c
@@ -1004,8 +1004,6 @@ static void send_error(http_session_t * session, const char* message)
 
 void http_logon(http_session_t * session, user_t *usr)
 {
-	int	i;
-
 	if(usr==NULL)
 		getuserdat(&scfg, &session->user);
 	else