diff options
author | Ton Voon <ton.voon@opsera.com> | 2010-06-24 10:08:13 +0100 |
---|---|---|
committer | Ton Voon <ton.voon@opsera.com> | 2010-06-24 10:08:13 +0100 |
commit | 2ad344a47ba80e1c95e554e78b7a1efe0ab0e86b (patch) | |
tree | ea81aacb87a6d93abeec1069b105b3c3c8f2f5b7 /lib/utils_base.c | |
parent | 342f3b403e888800fb1b0502bf4e0d8268358573 (diff) | |
download | monitoring-plugins-2ad344a47ba80e1c95e554e78b7a1efe0ab0e86b.tar.gz |
Cleanup some warnings displayed from IRIX tinderbox server
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; |