From 879d1a95bb42a84a9ad50254231d59c7b485259b Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Fri, 4 Nov 2005 14:51:16 +0000 Subject: [PATCH] Fixed warnings for HP-UX. --- src/db/dbChannelIO.cpp | 4 ++-- src/db/dbPutNotifyBlocker.cpp | 2 +- src/iocsh/iocsh.cpp | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/db/dbChannelIO.cpp b/src/db/dbChannelIO.cpp index 770fbbc14..e3b903e25 100644 --- a/src/db/dbChannelIO.cpp +++ b/src/db/dbChannelIO.cpp @@ -69,7 +69,7 @@ void dbChannelIO::destructor ( epicsGuard < epicsMutex > & guard ) } void dbChannelIO::destroy ( - epicsGuard < epicsMutex > & callbackControlGuard, + epicsGuard < epicsMutex > &, epicsGuard < epicsMutex > & mutualExclusionGuard ) { mutualExclusionGuard.assertIdenticalMutex ( this->mutex ); @@ -133,7 +133,7 @@ void dbChannelIO::subscribe ( } void dbChannelIO::ioCancel ( - epicsGuard < epicsMutex > & callbackControlGuard, + epicsGuard < epicsMutex > &, epicsGuard < epicsMutex > & mutualExclusionGuard, const ioid & id ) { diff --git a/src/db/dbPutNotifyBlocker.cpp b/src/db/dbPutNotifyBlocker.cpp index c6fe4101d..34be38de7 100644 --- a/src/db/dbPutNotifyBlocker.cpp +++ b/src/db/dbPutNotifyBlocker.cpp @@ -186,7 +186,7 @@ void dbPutNotifyBlocker::show ( unsigned level ) const } void dbPutNotifyBlocker::show ( - epicsGuard < epicsMutex > & guard, unsigned level ) const + epicsGuard < epicsMutex > &, unsigned level ) const { printf ( "put notify blocker at %p\n", static_cast ( this ) ); diff --git a/src/iocsh/iocsh.cpp b/src/iocsh/iocsh.cpp index 7a123870e..964807555 100644 --- a/src/iocsh/iocsh.cpp +++ b/src/iocsh/iocsh.cpp @@ -338,7 +338,8 @@ openRedirect(const char *filename, int lineno, struct iocshRedirect *redirect) * Start I/O redirection */ static void -startRedirect(const char *filename, int lineno, struct iocshRedirect *redirect) +startRedirect(const char * /*filename*/, int /*lineno*/, + struct iocshRedirect *redirect) { int i;