Message ID | 20130608140233.2361.71553.stgit@nfdev.cica.es |
---|---|
State | Accepted |
Headers | show |
On Sat, Jun 08, 2013 at 04:02:33PM +0200, Arturo Borrero wrote: > This code was unreachable. > > There was a similar commit fixing a similar code which didn't fix this (414ac29). Applied. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/src/expr/data_reg.c b/src/expr/data_reg.c index a7511a7..5eb7f38 100644 --- a/src/expr/data_reg.c +++ b/src/expr/data_reg.c @@ -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)
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 <arturo.borrero.glez@gmail.com> --- src/expr/data_reg.c | 2 -- 1 file changed, 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html