preproc: Drop useless assignments

new_ExpDef does zalloc'ate memory so no need
to assign zeros again.

Same time it should fix MSC complains on NULL assignment
on boolean variable.

Reported-by: Jasper Neuman <jasper.neumann@web.de>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2011-07-06 23:12:55 +04:00
parent 454b0f23b8
commit 4e40962918

View File

@ -2790,10 +2790,6 @@ issue_error:
}
ed = new_ExpDef(EXP_IF);
ed->state = j;
ed->nolist = NULL;
ed->def_depth = 0;
ed->cur_depth = 0;
ed->max_depth = 0;
ed->ignoring = ((ed->state == COND_IF_TRUE) ? false : true);
ed->prev = defining;
defining = ed;