fix compiler warnings and clear out redundant code

This commit is contained in:
Jeff Hill
2004-02-07 01:34:59 +00:00
parent 2c68ac3a10
commit 4bf312df58
2 changed files with 1 additions and 7 deletions
+1 -6
View File
@@ -82,11 +82,6 @@ static void gddStaticInit ( void * p )
*pMutex = new epicsMutex ();
}
gdd::staticInit ()
{
epicsThreadOnce ( & gddOnce, gddStaticInit, & gdd::pGlobalMutex );
}
gdd::gdd(int app, aitEnum prim, int dimen)
{
init(app,prim,dimen);
@@ -100,7 +95,7 @@ gdd::gdd(int app, aitEnum prim, int dimen, aitUint32* val)
void gdd::init(int app, aitEnum prim, int dimen)
{
gdd::staticInit ();
epicsThreadOnce ( & gddOnce, gddStaticInit, & gdd::pGlobalMutex );
setApplType(app);
//
// joh - we intentionally dont call setPrimType()
-1
View File
@@ -503,7 +503,6 @@ private:
aitUint8 flags;
static epicsMutex * pGlobalMutex;
static staticInit ();
const gdd* indexDD (aitIndex index) const;
};