[PATCH] Remove 'BUG_const_mismatch', locally defined but not used.

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sun Feb 2 09:21:06 UTC 2014


coreutils/catv.c:32:15: warning: typedef 'BUG_const_mismatch' locally defined but not used [-Wunused-local-typedefs]
  typedef char BUG_const_mismatch[
               ^

Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>
---
 coreutils/catv.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/coreutils/catv.c b/coreutils/catv.c
index e3499c5..3846aea 100644
--- a/coreutils/catv.c
+++ b/coreutils/catv.c
@@ -29,10 +29,6 @@ int catv_main(int argc UNUSED_PARAM, char **argv)
 #define CATV_OPT_e (1<<0)
 #define CATV_OPT_t (1<<1)
 #define CATV_OPT_v (1<<2)
-	typedef char BUG_const_mismatch[
-		CATV_OPT_e == VISIBLE_ENDLINE && CATV_OPT_t == VISIBLE_SHOW_TABS
-		? 1 : -1
-	];

 	opts = getopt32(argv, "etv");
 	argv += optind;
-- 
1.9.rc1


More information about the busybox mailing list