From 1a075e7645f3b1e65d5449ca68cdc9f251dc186e Mon Sep 17 00:00:00 2001
From: Rob Swindell <rob@synchro.net>
Date: Wed, 2 Dec 2020 01:14:53 -0800
Subject: [PATCH] Fix new GCC warning about unused variable.

---
 src/sbbs3/xtrn.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/sbbs3/xtrn.cpp b/src/sbbs3/xtrn.cpp
index 10dca2e685..79a7ef73c6 100644
--- a/src/sbbs3/xtrn.cpp
+++ b/src/sbbs3/xtrn.cpp
@@ -1842,6 +1842,7 @@ char* sbbs_t::cmdstr(const char *instr, const char *fpath, const char *fspec, ch
 	char	str[MAX_PATH+1],*cmd;
     int		i,j,len;
 	bool	native = (mode == EX_UNSPECIFIED) || native_executable(&cfg, instr, mode);
+	(void) native;
 
     if(outstr==NULL)
         cmd=cmdstr_output;
-- 
GitLab