rcfile: don't break a chain of 'else if' [scan-build]

The mistake was made when 'guidestripe' was added, in commit 66c6eb51.
master
Benno Schulenberg 2019-04-03 18:55:24 +02:00
parent 671db5e1e3
commit 947ccbb597
1 changed files with 1 additions and 2 deletions

View File

@ -1126,8 +1126,7 @@ void parse_rcfile(FILE *rcstream, bool syntax_only)
stripe_column = 0; stripe_column = 0;
} }
free(option); free(option);
} } else if (strcasecmp(rcopts[i].name, "matchbrackets") == 0) {
if (strcasecmp(rcopts[i].name, "matchbrackets") == 0) {
if (has_blank_char(option)) { if (has_blank_char(option)) {
rcfile_error(N_("Non-blank characters required")); rcfile_error(N_("Non-blank characters required"));
free(option); free(option);