From 2ad344a47ba80e1c95e554e78b7a1efe0ab0e86b Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 24 Jun 2010 10:08:13 +0100 Subject: Cleanup some warnings displayed from IRIX tinderbox server --- lib/utils_base.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/utils_base.c') 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; -- cgit v1.2.3