Skip to contentSkip to conversation

data_reg: delete unreachable code

PATCH Applied Arturo Borrero 2 participants 2 messages Jun 3, 2013 – Jun 5, 2013 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 data_reg: delete unreachable code

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

---
 src/expr/data_reg.c |    2 --
 1 file changed, 2 deletions(-)
src/expr/data_reg.c +0 -2
index 12adc18..74ebe76 100644
@@ -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
 
maintainer Applied
#1 lore raw
Quoted 1 line · Arturo Borrero

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

Applied, thanks.