diff options
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; |