diff --git a/src/cas/generic/beaconAnomalyGovernor.cc b/src/cas/generic/beaconAnomalyGovernor.cc index 2a83f2d45..52b4c1006 100644 --- a/src/cas/generic/beaconAnomalyGovernor.cc +++ b/src/cas/generic/beaconAnomalyGovernor.cc @@ -64,7 +64,7 @@ void beaconAnomalyGovernor::start () } } -epicsTimerNotify::expireStatus beaconAnomalyGovernor::expire ( const epicsTime & currentTime ) +epicsTimerNotify::expireStatus beaconAnomalyGovernor::expire ( const epicsTime & ) { if ( this->anomalyPending ) { this->anomalyPending = false; diff --git a/src/gdd/gddEnumStringTable.cc b/src/gdd/gddEnumStringTable.cc index 69b680d9a..8f4a00183 100644 --- a/src/gdd/gddEnumStringTable.cc +++ b/src/gdd/gddEnumStringTable.cc @@ -48,10 +48,10 @@ bool gddEnumStringTable::expand ( unsigned nStringsRequired ) } } -void gddEnumStringTable::reserve ( unsigned nStrings ) +void gddEnumStringTable::reserve ( unsigned nStringsIn ) { - if ( nStrings > this->nStringSlots ) { - this->expand ( nStrings ); + if ( nStringsIn > this->nStringSlots ) { + this->expand ( nStringsIn ); } }