diff options
author | Sven Nierlein <sven@nierlein.org> | 2016-11-07 23:07:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 23:07:16 +0100 |
commit | 5ebc24d998ef3e5aaee2810dcbd1cb233aff32d6 (patch) | |
tree | 313acf2f2ea3ecfbacfcc1ec61df3d3fc43aa150 /plugins | |
parent | 06fdc551958ffcce3be101fe78d78adab8d64aa4 (diff) | |
parent | 81b33d45141cb45a7941c2c1f29330f276d0e14e (diff) | |
download | monitoring-plugins-5ebc24d998ef3e5aaee2810dcbd1cb233aff32d6.tar.gz |
Merge pull request #1312 from waja/check_disk_remove_unused_variables
check_disk: remove unused variables
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_disk.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 874a0ee0..e73a0083 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c @@ -58,9 +58,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; @@ -178,7 +175,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__ @@ -423,9 +420,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; |