Skip to content

CID 1508974: Unchecked return value #10230

Description

@maskit
 55    /* This is no reason for not grabbing the lock.
 56       So skip the routine which handle LockTry failure case. */
   	
CID 1508974 (#1 of 1): Unchecked return value (CHECKED_RETURN)
2. check_return: Calling TSMutexLockTry without checking return value (as is done elsewhere 6 out of 7 times).
 57    TSMutexLockTry(pmutex); // TODO: why should it not check if we got the lock??
 58    TSContCall(txn_sm, 0, NULL);
 59    TSMutexUnlock(pmutex);
 60    break;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions