From 6348395b7f875b4fb5a043961636875175c2a141 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 19 Jun 2001 23:44:49 +0000 Subject: [PATCH] fixed gnu warning --- src/ca/cac.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ca/cac.cpp b/src/ca/cac.cpp index da120306a..350c544a8 100644 --- a/src/ca/cac.cpp +++ b/src/ca/cac.cpp @@ -1218,7 +1218,7 @@ void cac::ioExceptionNotifyAndDestroy ( unsigned id, int status, // resubscribe for monitors from this channel void cac::connectAllIO ( nciu &chan ) { - bool signalNeeded; + bool signalNeeded = false; { tsDLList < baseNMIU > tmpList; epicsAutoMutex autoMutex ( this->mutex ); @@ -1258,7 +1258,7 @@ void cac::connectAllIO ( nciu &chan ) // cancel IO operations and monitor subscriptions void cac::disconnectAllIO ( nciu &chan ) { - bool signalNeeded; + bool signalNeeded = false; { epicsAutoMutex autoMutex ( this->mutex ); tsDLList < baseNMIU > tmpList; @@ -1293,7 +1293,7 @@ void cac::disconnectAllIO ( nciu &chan ) void cac::destroyAllIO ( nciu &chan ) { - bool signalNeeded; + bool signalNeeded = false; { epicsAutoMutex autoMutex ( this->mutex ); while ( baseNMIU *pIO = chan.cacPrivateListOfIO::eventq.get() ) {