Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2014 17:42:14 GMT
From:      dpl@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r271613 - soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw
Message-ID:  <201407301742.s6UHgE4P095589@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dpl
Date: Wed Jul 30 17:42:14 2014
New Revision: 271613
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=271613

Log:
  Deleted unneeded variable for loop.

Modified:
  soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc

Modified: soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc
==============================================================================
--- soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc	Wed Jul 30 17:40:55 2014	(r271612)
+++ soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/jit.cc	Wed Jul 30 17:42:14 2014	(r271613)
@@ -86,8 +86,7 @@
 			// as a parameter in this.
 			v = B.CreateAlloca(regTy);
 			B.CreateStore(args++, v);
-
-			// Create a load of pointers to the global registers.
+// Create a load of pointers to the global registers.
 			Value *gArg = args;
 			for (int i=0 ; i<10 ; i++)
 			{
@@ -134,7 +133,6 @@
 	// Iterate through the rules.
 	for (; f_pos < chain->n_rules; f_pos++) {
 		ipfw_insn *cmd;
-		uint32_t tablearg = 0;
 		int l, cmdlen, skip_or; /* skip rest of OR block */
 		struct ip_fw *f;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407301742.s6UHgE4P095589>