[monitoring-plugins] negate: remove unused variables
Jan Wagner
git at monitoring-plugins.org
Mon Nov 7 23:10:12 CET 2016
Module: monitoring-plugins
Branch: master
Commit: 0608d3f16aa479a00b55dd0a4807f703d8e9b14f
Author: Sebastian Herbszt <herbszt at gmx.de>
Committer: Jan Wagner <waja at cyconet.org>
Date: Tue Dec 9 00:09:23 2014 +0100
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0608d3f
negate: remove unused variables
Remove unused variables.
Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
---
plugins/negate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/negate.c b/plugins/negate.c
index beaed1e..b320e35 100644
--- a/plugins/negate.c
+++ b/plugins/negate.c
@@ -59,8 +59,8 @@ static int state[4] = {
int
main (int argc, char **argv)
{
- int found = 0, result = STATE_UNKNOWN;
- char *buf, *sub;
+ int result = STATE_UNKNOWN;
+ char *sub;
char **command_line;
output chld_out, chld_err;
int i;
More information about the Commits
mailing list