diff options
Diffstat (limited to 'plugins/check_disk.c')
-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 8e793c9..4b5ba5f 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; |
@@ -179,7 +176,7 @@ main (int argc, char **argv) | |||
179 | int temp_result; | 176 | int temp_result; |
180 | 177 | ||
181 | struct mount_entry *me; | 178 | struct mount_entry *me; |
182 | struct fs_usage fsp, tmpfsp; | 179 | struct fs_usage fsp; |
183 | struct parameter_list *temp_list, *path; | 180 | struct parameter_list *temp_list, *path; |
184 | 181 | ||
185 | #ifdef __CYGWIN__ | 182 | #ifdef __CYGWIN__ |
@@ -434,9 +431,7 @@ process_arguments (int argc, char **argv) | |||
434 | int c, err; | 431 | int c, err; |
435 | struct parameter_list *se; | 432 | struct parameter_list *se; |
436 | struct parameter_list *temp_list = NULL, *previous = NULL; | 433 | struct parameter_list *temp_list = NULL, *previous = NULL; |
437 | struct parameter_list *temp_path_select_list = NULL; | 434 | struct mount_entry *me; |
438 | struct mount_entry *me, *temp_me; | ||
439 | int result = OK; | ||
440 | regex_t re; | 435 | regex_t re; |
441 | int cflags = REG_NOSUB | REG_EXTENDED; | 436 | int cflags = REG_NOSUB | REG_EXTENDED; |
442 | int default_cflags = cflags; | 437 | int default_cflags = cflags; |