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"; | |||
58 | # define ERROR -1 | 58 | # define ERROR -1 |
59 | #endif | 59 | #endif |
60 | 60 | ||
61 | /* If nonzero, show inode information. */ | ||
62 | static int inode_format = 1; | ||
63 | |||
64 | /* If nonzero, show even filesystems with zero size or | 61 | /* If nonzero, show even filesystems with zero size or |
65 | uninteresting types. */ | 62 | uninteresting types. */ |
66 | static int show_all_fs = 1; | 63 | static int show_all_fs = 1; |
@@ -178,7 +175,7 @@ main (int argc, char **argv) | |||
178 | int temp_result; | 175 | int temp_result; |
179 | 176 | ||
180 | struct mount_entry *me; | 177 | struct mount_entry *me; |
181 | struct fs_usage fsp, tmpfsp; | 178 | struct fs_usage fsp; |
182 | struct parameter_list *temp_list, *path; | 179 | struct parameter_list *temp_list, *path; |
183 | 180 | ||
184 | #ifdef __CYGWIN__ | 181 | #ifdef __CYGWIN__ |
@@ -423,9 +420,7 @@ process_arguments (int argc, char **argv) | |||
423 | int c, err; | 420 | int c, err; |
424 | struct parameter_list *se; | 421 | struct parameter_list *se; |
425 | struct parameter_list *temp_list = NULL, *previous = NULL; | 422 | struct parameter_list *temp_list = NULL, *previous = NULL; |
426 | struct parameter_list *temp_path_select_list = NULL; | 423 | struct mount_entry *me; |
427 | struct mount_entry *me, *temp_me; | ||
428 | int result = OK; | ||
429 | regex_t re; | 424 | regex_t re; |
430 | int cflags = REG_NOSUB | REG_EXTENDED; | 425 | int cflags = REG_NOSUB | REG_EXTENDED; |
431 | int default_cflags = cflags; | 426 | int default_cflags = cflags; |