mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Remove a leftover abort and some fixes from cppcheck.
This commit is contained in:
@ -365,7 +365,8 @@ options_array_set(struct options_entry *o, u_int idx, const char *value,
|
||||
pr = cmd_parse_from_string(value, NULL);
|
||||
switch (pr->status) {
|
||||
case CMD_PARSE_EMPTY:
|
||||
*cause = xstrdup("empty command");
|
||||
if (cause != NULL)
|
||||
*cause = xstrdup("empty command");
|
||||
return (-1);
|
||||
case CMD_PARSE_ERROR:
|
||||
if (cause != NULL)
|
||||
|
Reference in New Issue
Block a user