diff options
Diffstat (limited to 'lib/utils_base.c')
-rw-r--r-- | lib/utils_base.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/utils_base.c b/lib/utils_base.c index 6de92cbd..1f705d97 100644 --- a/lib/utils_base.c +++ b/lib/utils_base.c @@ -471,10 +471,8 @@ void np_enable_state(char *keyname, int expected_data_version) { * 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) @@ -508,7 +506,7 @@ state_data *np_state_read() { * 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; @@ -585,7 +583,6 @@ void np_state_write_string(time_t data_time, char *data_string) { char *temp_file=NULL; int fd=0, result=0; time_t current_time; - size_t len; char *directories=NULL; char *p=NULL; |