netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [libnftables PATCH] data_reg: delete unreachable code
@ 2013-06-03 17:15 Arturo Borrero
  2013-06-05  3:06 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Arturo Borrero @ 2013-06-03 17:15 UTC (permalink / raw)
  To: netfilter-devel; +Cc: pablo

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

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
---
 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
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [libnftables PATCH] data_reg: delete unreachable code
  2013-06-03 17:15 [libnftables PATCH] data_reg: delete unreachable code Arturo Borrero
@ 2013-06-05  3:06 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2013-06-05  3:06 UTC (permalink / raw)
  To: Arturo Borrero; +Cc: netfilter-devel

On Mon, Jun 03, 2013 at 07:15:20PM +0200, Arturo Borrero wrote:
> The deleted code is never executed, thus junk. Introduced by me in previous commit.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-05  3:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 17:15 [libnftables PATCH] data_reg: delete unreachable code Arturo Borrero
2013-06-05  3:06 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).