[icinga-checkins] icinga.org: icinga-core/dev/ido: idoutils: apply idomod patch contributed in #2292 for gcc2.95 compatibility

git at icinga.org git at icinga.org
Mon Feb 6 15:54:49 CET 2012


Module: icinga-core
Branch: dev/ido
Commit: 96d9c51dbcd0becf2da8876d2a4b42a624554841
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=96d9c51dbcd0becf2da8876d2a4b42a624554841

Author: Thomas Dressler <tdressler at tdressler.net>
Date:   Sun Feb  5 10:00:11 2012 +0100

idoutils: apply idomod patch contributed in #2292 for gcc2.95 compatibility
refs #2292

---

 module/idoutils/src/idomod.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/module/idoutils/src/idomod.c b/module/idoutils/src/idomod.c
index 55ae6f9..60f2d40 100644
--- a/module/idoutils/src/idomod.c
+++ b/module/idoutils/src/idomod.c
@@ -1267,6 +1267,7 @@ int idomod_broker_data(int event_type, void *data) {
 	nebstruct_statechange_data *schangedata = NULL;
 	nebstruct_contact_status_data *csdata = NULL;
 	nebstruct_adaptive_contact_data *acdata = NULL;
+	customvariablesmember *temp_customvar = NULL;
 
 	double retry_interval = 0.0;
 	int last_state = -1;
@@ -1278,7 +1279,6 @@ int idomod_broker_data(int event_type, void *data) {
 			return 0;
 	}
 
-	customvariablesmember *temp_customvar = NULL;
 
 	idomod_log_debug_info(IDOMOD_DEBUGL_PROCESSINFO, 2, "idomod_broker_data() start\n");
 





More information about the icinga-checkins mailing list