[PATCH] No need to use USED() in arg.h for sbase

From: sin <sin_AT_2f30.org>
Date: Wed, 6 Nov 2013 13:22:13 +0000

Tested on Linux and OpenBSD (with gcc and pcc).
---
 arg.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/arg.h b/arg.h
index 2b189fe..2009b70 100644
--- a/arg.h
+++ b/arg.h
_AT_@ -8,8 +8,6 @@
 
 extern char *argv0;
 
-#define USED(x)		((void)(x))
-
 /* use main(int argc, char *argv[]) */
 #define ARGBEGIN	for (argv0 = *argv, argv++, argc--;\
 					argv[0] && argv[0][1]\
_AT_@ -32,10 +30,7 @@ extern char *argv0;
 					switch (_argc)
 
 #define ARGEND			}\
-				USED(_argc);\
-			}\
-			USED(argv);\
-			USED(argc);
+			}
 
 #define ARGC()		_argc
 
-- 
1.8.3.4
--UugvWAfsgieZRqgk--
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Wed Nov 06 2013 - 14:36:06 CET