[monitoring-plugins] negate: remove unused variables

Jan Wagner <[email protected]>
Newsgroups gmane.network.nagios.cvs
Message-ID <[email protected]>
    Module: monitoring-plugins
    Branch: master
    Commit: 0608d3f16aa479a00b55dd0a4807f703d8e9b14f
    Author: Sebastian Herbszt <[email protected]>
 Committer: Jan Wagner <[email protected]>
      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 <[email protected]>

---

 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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.