aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-30 22:40:35 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-10-30 22:40:35 -0700
commita529fc9d83295fdf9418436b68d056162ba8231b (patch)
tree97cf66daca3b5e7efb927c7e37fc7515ec8b0ceb /parser.cpp
parent173a6a71c03847158a434c3fd63e5759bf933239 (diff)
Set of fixes for issues identified by cppcheck
Diffstat (limited to 'parser.cpp')
-rw-r--r--parser.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/parser.cpp b/parser.cpp
index 2f96054c..f85a4faf 100644
--- a/parser.cpp
+++ b/parser.cpp
@@ -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);