[PATCH] Remove BUG_const_mismatch, locally defined but not used.
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Mon Feb 3 09:32:55 UTC 2014
On Mon, 3 Feb 2014, Denys Vlasenko wrote:
>
> This check is useful. I would like to retain it. How about moving it
> to global scope?
>
> #define CATV_OPT_e (1<<0)
> #define CATV_OPT_t (1<<1)
> #define CATV_OPT_v (1<<2)
> struct BUG_const_mismatch {
> char BUG_const_mismatch[
> CATV_OPT_e == VISIBLE_ENDLINE && CATV_OPT_t == VISIBLE_SHOW_TABS
> ? 1 : -1
> ];
> };
>
> int catv_main(...)...
That'll work too.
Cheers,
--
Cristian
More information about the busybox
mailing list