diff --git a/src/cas/generic/caServer.cc b/src/cas/generic/caServer.cc index 8c09017f6..4181a12e3 100644 --- a/src/cas/generic/caServer.cc +++ b/src/cas/generic/caServer.cc @@ -29,6 +29,9 @@ * * History * $Log$ + * Revision 1.8 1997/08/05 00:46:56 jhill + * fixed warnings + * * Revision 1.7 1997/06/25 05:09:00 jhill * removed templInst.cc * @@ -85,11 +88,11 @@ epicsShareFunc caServer::caServer(unsigned pvCountEstimateIn) : logEventMask(this->registerEvent("log")), alarmEventMask(this->registerEvent("alarm")) { - static init; + static bool init = false; if (!init) { gddMakeMapDBR(gddApplicationTypeTable::app_table); - init = TRUE; + init = true; } if (!this->pCAS) {