From 2991b02eec62720b6d31103dcc10783c4c413324 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Thu, 8 Apr 2004 00:27:04 +0000
Subject: [PATCH] FREE_AR and nular are not required for SCFG now.

---
 src/sbbs3/scfglib.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/sbbs3/scfglib.h b/src/sbbs3/scfglib.h
index 94e652cab2..16ccc74759 100644
--- a/src/sbbs3/scfglib.h
+++ b/src/sbbs3/scfglib.h
@@ -52,17 +52,17 @@ extern "C" {
 #endif
 
 extern const char*	scfgnulstr;
-extern const uchar* nular;
 
 #define FREE_AND_NULL(x) if(x!=NULL) { FREE(x); x=NULL; }
 
-/* allocated with arstr() */	
-#define FREE_AR(x)		if(x!=NULL && x!=nular)	{ FREE(x); x=NULL; }
-
 #if defined(SCFG)	/* Don't compile AR strings for SCFG */
 	#define ARSTR(str,cfg)	NULL
+    #define FREE_AR(x)
 #else
+	extern const uchar* nular;
 	#define ARSTR(str,cfg)	arstr(NULL,str,cfg)
+	/* allocated with arstr() */
+	#define FREE_AR(x)		if(x!=NULL && x!=nular)	{ FREE(x); x=NULL; }
 #endif
 
 char*	get_alloc(long *offset, char *outstr, int maxlen, FILE *instream);
-- 
GitLab