diff mbox

[PATH,nft,v2,17/18] libnftables: suppress unused global variables

Message ID 20170819152420.22563-18-eric@regit.org
State Changes Requested
Delegated to: Pablo Neira
Headers show

Commit Message

Eric Leblond Aug. 19, 2017, 3:24 p.m. UTC
Signed-off-by: Eric Leblond <eric@regit.org>
---
 src/libnftables.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Pablo Neira Ayuso Aug. 21, 2017, 8:40 a.m. UTC | #1
On Sat, Aug 19, 2017 at 05:24:19PM +0200, Eric Leblond wrote:
> Signed-off-by: Eric Leblond <eric@regit.org>
> ---
>  src/libnftables.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/src/libnftables.c b/src/libnftables.c
> index b1df916..1abe077 100644
> --- a/src/libnftables.c
> +++ b/src/libnftables.c
> @@ -26,9 +26,6 @@
>  
>  
>  unsigned int max_errors = 1;
> -unsigned int numeric_output;
> -unsigned int ip2name_output;
> -unsigned int handle_output;

I guess these slipped through in the constant rebases I'm triggering
with my preparation patches, sorry about that.

I guess it should be possible to get rid of this in the next
submission by amending the patch that adds the library.
--
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 mbox

Patch

diff --git a/src/libnftables.c b/src/libnftables.c
index b1df916..1abe077 100644
--- a/src/libnftables.c
+++ b/src/libnftables.c
@@ -26,9 +26,6 @@ 
 
 
 unsigned int max_errors = 1;
-unsigned int numeric_output;
-unsigned int ip2name_output;
-unsigned int handle_output;
 #ifdef DEBUG
 unsigned int debug_level;
 #endif