Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Commit 5eaa296

Browse files
committed
Remove missing return statement
1 parent d26589b commit 5eaa296

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Flow/Locking.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public final class Mutex {
3333

3434
extension pthread_mutex_t {
3535
mutating func withPointer<T>(_ body: (PThreadMutex) throws -> T) rethrows -> T {
36-
try withUnsafeMutablePointer(to: &self, body)
36+
return try withUnsafeMutablePointer(to: &self, body)
3737
}
3838

3939
mutating func initialize() {

0 commit comments

Comments
 (0)