fixed sun pro warning

This commit is contained in:
Jeff Hill
2002-12-19 22:53:52 +00:00
parent da5690d637
commit 7fe3d28c8e

View File

@@ -222,13 +222,10 @@ bool epicsMutex::tryLock () // X aCC 361
if ( status == epicsMutexLockOK ) {
return true;
}
else if ( status == epicsMutexLockTimeout ) {
return false;
}
else {
else if ( status != epicsMutexLockTimeout ) {
throw invalidMutex ();
return false; // never here, but compiler is happy
}
return false;
}
void epicsMutex::unlock ()