summaryrefslogtreecommitdiffstats
path: root/plugins/check_swap.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r--plugins/check_swap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index a3f4df4..aeeb9ba 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -55,7 +55,6 @@ main (int argc, char **argv)
55 float dsktotal = 0, dskused = 0, dskfree = 0, tmp = 0; 55 float dsktotal = 0, dskused = 0, dskfree = 0, tmp = 0;
56 int result = STATE_UNKNOWN; 56 int result = STATE_UNKNOWN;
57 char input_buffer[MAX_INPUT_BUFFER]; 57 char input_buffer[MAX_INPUT_BUFFER];
58 char *perf;
59#ifdef HAVE_PROC_MEMINFO 58#ifdef HAVE_PROC_MEMINFO
60 FILE *fp; 59 FILE *fp;
61#else 60#else
@@ -86,7 +85,6 @@ main (int argc, char **argv)
86 textdomain (PACKAGE); 85 textdomain (PACKAGE);
87 86
88 status = strdup (""); 87 status = strdup ("");
89 perf = strdup ("");
90 88
91 if (process_arguments (argc, argv) == ERROR) 89 if (process_arguments (argc, argv) == ERROR)
92 usage4 (_("Could not parse arguments")); 90 usage4 (_("Could not parse arguments"));