fixed sun pro warning
This commit is contained in:
1 parent
da5690d637
commit
7fe3d28c8e
1 file changed
+2
-5
@@ -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 ()
|
||||
|
||||
Reference in new issue
Block a user