aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
authorGravatar Sebastian Herbszt <herbszt@gmx.de> 2014-12-20 20:51:44 +0100
committerGravatar Jan Wagner <waja@cyconet.org> 2014-12-27 15:20:57 +0100
commit81b33d45141cb45a7941c2c1f29330f276d0e14e (patch)
tree3e9ad66e4a00b86fc852b00542730d2dc7c20509 /plugins/check_disk.c
parent0a236c7c70a5d3b9f921338fca8ea67196a05c12 (diff)
downloadmonitoring-plugins-81b33d45141cb45a7941c2c1f29330f276d0e14e.tar.gz
check_disk: remove unused variables
Remove unused variables. Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Diffstat (limited to 'plugins/check_disk.c')
-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 eb573f5f..d37cc3a0 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -61,9 +61,6 @@ const char *email = "devel@monitoring-plugins.org";
# define ERROR -1
#endif
-/* If nonzero, show inode information. */
-static int inode_format = 1;
-
/* If nonzero, show even filesystems with zero size or
uninteresting types. */
static int show_all_fs = 1;
@@ -182,7 +179,7 @@ main (int argc, char **argv)
int temp_result;
struct mount_entry *me;
- struct fs_usage fsp, tmpfsp;
+ struct fs_usage fsp;
struct parameter_list *temp_list, *path;
#ifdef __CYGWIN__
@@ -427,9 +424,7 @@ process_arguments (int argc, char **argv)
int c, err;
struct parameter_list *se;
struct parameter_list *temp_list = NULL, *previous = NULL;
- struct parameter_list *temp_path_select_list = NULL;
- struct mount_entry *me, *temp_me;
- int result = OK;
+ struct mount_entry *me;
regex_t re;
int cflags = REG_NOSUB | REG_EXTENDED;
int default_cflags = cflags;