tweaks: drop a useless assert, and don't abort over an unhandled option
parent
f72fecee9b
commit
7b9bd65362
|
@ -2636,7 +2636,6 @@ int main(int argc, char **argv)
|
|||
refresh_needed = TRUE;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (currmenu != MMAIN)
|
||||
display_main_list();
|
||||
|
||||
|
@ -2663,7 +2662,4 @@ int main(int argc, char **argv)
|
|||
/* Read in and interpret keystrokes. */
|
||||
do_input(TRUE);
|
||||
}
|
||||
|
||||
/* We should never get here. */
|
||||
assert(FALSE);
|
||||
}
|
||||
|
|
|
@ -1167,8 +1167,7 @@ void parse_rcfile(FILE *rcstream, bool syntax_only)
|
|||
tabsize = -1;
|
||||
}
|
||||
free(option);
|
||||
} else
|
||||
assert(FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef ENABLE_COLOR
|
||||
|
|
Loading…
Reference in New Issue