Boolean switches: add an omitted 'break', plus a few 'default' cases
that would matter if someone turned on the warning about a switch
statement with 'enum' index that doesn't have cases for all possible
values of that enum. I haven't made any attempt to be exhaustive
about those; these few were just right in the same place.
}
}
#endif
+ break; /* from opt_perm_invent */
+ default:
+ break;
}
/* this dates from when 'O' prompted for a line of options text
rather than use a menu to control access to which options can
case opt_tiled_map:
iflags.wc_ascii_map = negated;
break;
+ default:
+ break;
}
/* only do processing below if setting with doset() */
case opt_rest_on_space:
update_rest_on_space();
break;
+ default:
+ break;
}
/* boolean value has been toggled but some option changes can