From cb2bbe86dd865f91bba2dce362c31f3f81f45016 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 12 Jan 2001 16:48:33 +0000 Subject: [PATCH] fixed sun pro warning --- src/ca/access.cpp | 2 +- src/ca/cac.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ca/access.cpp b/src/ca/access.cpp index 85d654acb..18e239079 100644 --- a/src/ca/access.cpp +++ b/src/ca/access.cpp @@ -790,7 +790,7 @@ extern "C" unsigned epicsShareAPI ca_get_ioc_connection_count () return pcac->connectionCount (); } -extern "C" epicsShareFunc int epicsShareAPI ca_channel_status ( threadId tid ) +extern "C" epicsShareFunc int epicsShareAPI ca_channel_status ( threadId /* tid */ ) { printf ("new OSI API does not allow peeking at thread private storage of another thread\n"); printf ("please call \"ca_client_status ( unsigned level )\" from the subsystem specific diagnostic code.\n"); diff --git a/src/ca/cac.cpp b/src/ca/cac.cpp index 78ee46636..eb9b3dc58 100644 --- a/src/ca/cac.cpp +++ b/src/ca/cac.cpp @@ -176,7 +176,7 @@ cac::~cac () while ( piiu.valid () ) { tsDLIterBD pnext = piiu.itemAfter (); { - epicsAutoMutex autoMutex ( this->defaultMutex ); + epicsAutoMutex autoMutexTmp ( this->defaultMutex ); piiu->disconnectAllChan ( *this->pudpiiu ); } piiu->disconnect (); @@ -261,7 +261,7 @@ void cac::processRecvBacklog () } { - epicsAutoMutex autoMutex ( this->defaultMutex ); + epicsAutoMutex autoMutexTmp ( this->defaultMutex ); piiu->disconnectAllChan ( *this->pudpiiu ); }