From 76b5c7f4399c7774c368c7540e07f71dcba85338 Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Debian Linux)" <rob@synchro.net>
Date: Tue, 9 Apr 2024 11:07:00 -0700
Subject: [PATCH] Resolve CID 492287 - we don't care about the fexistcase()
 return value here

We're just using it to "fix" the case, if the file indeed exists.
---
 src/sbbs3/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp
index e4f0cc28eb..446efd8618 100644
--- a/src/sbbs3/main.cpp
+++ b/src/sbbs3/main.cpp
@@ -4470,7 +4470,7 @@ void node_thread(void* arg)
 				if(sbbs->cfg.mods_dir[0]==0 || !fexistcase(str)) {
 					SAFEPRINTF2(str,"%s%s.bin",sbbs->cfg.exec_dir
 						,sbbs->cfg.shell[sbbs->useron.shell]->code);
-					fexistcase(str);
+					(void)fexistcase(str);
 				}
 				if((file=sbbs->nopen(str,O_RDONLY))==-1) {
 					sbbs->errormsg(WHERE,ERR_OPEN,str,O_RDONLY);
-- 
GitLab