From e487e3cdb5ea842006d5dd6ddd3c20941e1db82b Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Debian Linux)" <rob@synchro.net>
Date: Tue, 5 Mar 2024 15:33:18 -0800
Subject: [PATCH] Fix warning about impossible condition.

---
 src/sbbs3/bat_xfer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/bat_xfer.cpp b/src/sbbs3/bat_xfer.cpp
index b69b2d912d..0be76e73f4 100644
--- a/src/sbbs3/bat_xfer.cpp
+++ b/src/sbbs3/bat_xfer.cpp
@@ -589,7 +589,7 @@ void sbbs_t::batch_upload()
 		if(mv(src, dest, /* copy: */false))
 			continue;
 
-		int x,y;
+		int x,y = 0;
 		for(x=0;x<usrlibs;x++) {
 			progress(text[SearchingForDupes], x, usrlibs);
 			for(y=0;y<usrdirs[x];y++)
-- 
GitLab