Remove node_offset from block_t

It was not used. Also clean up the constructor some.
This commit is contained in:
ridiculousfish
2018-02-11 20:10:57 -08:00
parent 8251d949f1
commit 3e063e7c13
3 changed files with 9 additions and 26 deletions

View File

@@ -802,17 +802,7 @@ void parser_t::get_backtrace(const wcstring &src, const parse_error_list_t &erro
}
}
block_t::block_t(block_type_t t)
: block_type(t),
skip(false),
tok_pos(),
node_offset(NODE_OFFSET_INVALID),
loop_status(LOOP_NORMAL),
job(),
src_filename(),
src_lineno(),
wants_pop_env(false),
event_blocks() {}
block_t::block_t(block_type_t t) : block_type(t) {}
block_t::~block_t() {}