Silence annoying GCC 11 warnings.

master
AliceLR 5 years ago committed by Ozkan Sezer
parent 33c0faf36d
commit ef9e800b1e
  1. 6
      src/read_config.c

@ -104,11 +104,13 @@ int read_config(struct options *o)
#define getval_yn(x,w,y) { \
if (!strcmp(var,x)) { if (get_yesno (val)) w |= (y); \
else w &= ~(y); continue; } }
else w &= ~(y); \
continue; } }
#define getval_tristate(x,w) { \
if (!strcmp(var,x)) { if (get_yesno (val)) w = 1; \
else w = -1; continue; } }
else w = -1; \
continue; } }
#define getval_no(x,y) { \
if (!strcmp(var,x)) { y = atoi (val); continue; } }

Loading…
Cancel
Save