From 7edea116d86715394163e508a0103773ed7d9046 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Sun, 24 May 2009 18:40:59 +0200 Subject: [PATCH] Fixed "uninitialized variable" warnings in FCB --- fres/cbroker/fcb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fres/cbroker/fcb.c b/fres/cbroker/fcb.c index 1167893..33260ec 100644 --- a/fres/cbroker/fcb.c +++ b/fres/cbroker/fcb.c @@ -582,8 +582,8 @@ negotiate_contracts(fres_contract_broker obj, CORBA_Environment *ev) { struct fcb *fcb = o2fcb(obj); - struct resource *resource; - int ret; + struct resource *resource = NULL; + int ret = 0; forb_server_id app; fres_contract_ptr_seq *schedulable_contracts; struct fcb_contract **fcb_contracts, *fc; -- 2.39.2