diff --git a/lib/utils_base.c b/lib/utils_base.c
index 6de92cbd1242250898f041b9518dd32bb4f94bbc..1f705d9752c05e9c7fbb6933f69b6dced1e27a68 100644 (file)
--- a/lib/utils_base.c
+++ b/lib/utils_base.c
* if exceptional error.
*/
state_data *np_state_read() {
- state_key *my_state_key;
state_data *this_state_data=NULL;
FILE *statefile;
- int c;
int rc = FALSE;
if(this_nagios_plugin==NULL)
* Read the state file
*/
int _np_state_read_file(FILE *f) {
- int c, status=FALSE;
+ int status=FALSE;
size_t pos;
char *line;
int i;
char *temp_file=NULL;
int fd=0, result=0;
time_t current_time;
- size_t len;
char *directories=NULL;
char *p=NULL;