diff --git a/src/sbbs3/services.c b/src/sbbs3/services.c
index 2ae46ed540b16f3eb8356795054c3cc0b55bfc13..7f687191180d5b109e639bd02b5655031bc5dd59 100644
--- a/src/sbbs3/services.c
+++ b/src/sbbs3/services.c
@@ -1024,7 +1024,6 @@ static void js_init_args(JSContext* js_cx, JSObject* js_obj, const char* cmdline
 
 static void js_service_thread(void* arg)
 {
-	int						i;
 	char*					host_name;
 	HOSTENT*				host;
 	SOCKET					socket;
@@ -1361,7 +1360,6 @@ static void native_static_service_thread(void* arg)
 
 static void native_service_thread(void* arg)
 {
-	int						i;
 	char					cmd[MAX_PATH];
 	char					fullcmd[MAX_PATH*2];
 	char*					host_name;
diff --git a/src/sbbs3/websrvr.c b/src/sbbs3/websrvr.c
index a2b4e8a3fb1d6979aad8c9b5d24ddb91fa2ce719..3c43f573a065e1dc9384ee87d7d7cfd507cfb2ed 100644
--- a/src/sbbs3/websrvr.c
+++ b/src/sbbs3/websrvr.c
@@ -4878,7 +4878,6 @@ void http_output_thread(void *arg)
 
 void http_session_thread(void* arg)
 {
-	int				i;
 	char*			host_name;
 	HOSTENT*		host;
 	SOCKET			socket;