[libnftables PATCH] data_reg: delete unreachable code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The deleted code is never executed, thus junk. Introduced by me in previous commit.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@xxxxxxxxx>
---
 src/expr/data_reg.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/expr/data_reg.c b/src/expr/data_reg.c
index 12adc18..74ebe76 100644
--- a/src/expr/data_reg.c
+++ b/src/expr/data_reg.c
@@ -209,8 +209,6 @@ static int nft_data_reg_value_xml_parse(union nft_data_reg *reg, char *xml)
 
 	mxmlDelete(tree);
 	return 0;
-	errno = EOPNOTSUPP;
-	return -1;
 }
 #endif
 

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux