data_reg: xml: delete unreachable code in _veredict_xml_parse()
PATCH 1/1 data_reg: xml: delete unreachable code in _veredict_xml_parse()
This code was unreachable.
There was a similar commit fixing a similar code which didn't fix this (414ac29).
Signed-off-by Arturo Borrero Gonzalez <[email protected]>
--- src/expr/data_reg.c | 2 -- 1 file changed, 2 deletions(-)
src/expr/data_reg.c +0 -2
@@ -76,8 +76,6 @@ static int nft_data_reg_verdict_xml_parse(union nft_data_reg *reg, char *xml)mxmlDelete (tree);return 0 ; - errno =EOPNOTSUPP ; -return -1 ; }static int nft_data_reg_chain_xml_parse (union nft_data_reg *reg,char *xml)
Quoted 3 lines · Arturo Borrero
This code was unreachable.
There was a similar commit fixing a similar code which didn't fix this (414ac29).
Applied.