summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSebastian Herbszt <herbszt@gmx.de>2014-12-20 19:51:44 (GMT)
committerJan Wagner <waja@cyconet.org>2014-12-27 14:20:57 (GMT)
commit81b33d45141cb45a7941c2c1f29330f276d0e14e (patch)
tree3e9ad66e4a00b86fc852b00542730d2dc7c20509 /plugins
parent0a236c7c70a5d3b9f921338fca8ea67196a05c12 (diff)
downloadmonitoring-plugins-81b33d45141cb45a7941c2c1f29330f276d0e14e.tar.gz
check_disk: remove unused variablesrefs/pull/1312/head
Remove unused variables. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_disk.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index eb573f5..d37cc3a 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -61,9 +61,6 @@ const char *email = "devel@monitoring-plugins.org";
61# define ERROR -1 61# define ERROR -1
62#endif 62#endif
63 63
64/* If nonzero, show inode information. */
65static int inode_format = 1;
66
67/* If nonzero, show even filesystems with zero size or 64/* If nonzero, show even filesystems with zero size or
68 uninteresting types. */ 65 uninteresting types. */
69static int show_all_fs = 1; 66static int show_all_fs = 1;
@@ -182,7 +179,7 @@ main (int argc, char **argv)
182 int temp_result; 179 int temp_result;
183 180
184 struct mount_entry *me; 181 struct mount_entry *me;
185 struct fs_usage fsp, tmpfsp; 182 struct fs_usage fsp;
186 struct parameter_list *temp_list, *path; 183 struct parameter_list *temp_list, *path;
187 184
188#ifdef __CYGWIN__ 185#ifdef __CYGWIN__
@@ -427,9 +424,7 @@ process_arguments (int argc, char **argv)
427 int c, err; 424 int c, err;
428 struct parameter_list *se; 425 struct parameter_list *se;
429 struct parameter_list *temp_list = NULL, *previous = NULL; 426 struct parameter_list *temp_list = NULL, *previous = NULL;
430 struct parameter_list *temp_path_select_list = NULL; 427 struct mount_entry *me;
431 struct mount_entry *me, *temp_me;
432 int result = OK;
433 regex_t re; 428 regex_t re;
434 int cflags = REG_NOSUB | REG_EXTENDED; 429 int cflags = REG_NOSUB | REG_EXTENDED;
435 int default_cflags = cflags; 430 int default_cflags = cflags;