mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-10 12:51:15 -03:00
Set of fixes for issues identified by cppcheck
This commit is contained in:
@@ -1019,13 +1019,6 @@ bool parser_t::detect_errors_in_argument_list(const wcstring &arg_list_src, wcst
|
||||
return errored;
|
||||
}
|
||||
|
||||
// helper type used in parser::test below
|
||||
struct block_info_t
|
||||
{
|
||||
int position; //tokenizer position
|
||||
block_type_t type; //type of the block
|
||||
};
|
||||
|
||||
void parser_t::get_backtrace(const wcstring &src, const parse_error_list_t &errors, wcstring *output) const
|
||||
{
|
||||
assert(output != NULL);
|
||||
|
||||
Reference in New Issue
Block a user