lint: empty else block

This commit is contained in:
Kurtis Rader 2016-11-02 14:17:26 -07:00
parent 4f4d34e664
commit e35b91d38c
2 changed files with 1 additions and 3 deletions

View file

@ -372,7 +372,6 @@ int input_init() {
} else { } else {
debug(0, _(L"Using fallback terminal type '%ls'"), DEFAULT_TERM); debug(0, _(L"Using fallback terminal type '%ls'"), DEFAULT_TERM);
} }
} else {
} }
input_terminfo_init(); input_terminfo_init();

View file

@ -214,8 +214,7 @@ static void mangle_1_completion_description(wcstring *str) {
str->at(trailing++) = wc; str->at(trailing++) = wc;
} else if (!was_space) { // initial space in a run } else if (!was_space) { // initial space in a run
str->at(trailing++) = L' '; str->at(trailing++) = L' ';
} else { // non-initial space in a run, do nothing } // else non-initial space in a run, do nothing
}
was_space = is_space; was_space = is_space;
} }