From 5f8f321cbab5cae519a5fada3cbbfaf911589769 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 13 Jul 2000 23:37:24 +0000 Subject: [PATCH] fixed missing type in static init --- src/cas/generic/caServer.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) {