diff options
| author | gingerBill <bill@gingerbill.org> | 2021-08-31 22:32:53 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-08-31 22:32:53 +0100 |
| commit | f57201bbd1f85772536e050b490a313ca62cb1b7 (patch) | |
| tree | 962ce81e9548d57f84cdab5cadd279f8172d0464 /core/sync | |
| parent | 2db6fea6655215452d445f327cadda815d65afd9 (diff) | |
Remove unneeded semicolons from the core library
Diffstat (limited to 'core/sync')
| -rw-r--r-- | core/sync/atomic.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sync/atomic.odin b/core/sync/atomic.odin index dbcb5283f..5996d981f 100644 --- a/core/sync/atomic.odin +++ b/core/sync/atomic.odin @@ -75,7 +75,7 @@ atomic_compare_exchange :: #force_inline proc(dst: ^$T, old, new: T, $success, $ when success == .Sequentially_Consistent { return intrinsics.atomic_cxchg(dst, old, new); } else { #panic("an unknown ordering combination"); } } else when failure == .Acquire_Release { - #panic("there is not such thing as an acquire/release failure ordering"); + #panic("there is not such thing as an acquire/release failure ordering") } else when failure == .Release { when success == .Acquire { return instrinsics.atomic_cxchg_failacq(dst, old, new); } else { #panic("an unknown ordering combination"); } @@ -101,7 +101,7 @@ atomic_compare_exchange_weak :: #force_inline proc(dst: ^$T, old, new: T, $succe when success == .Sequentially_Consistent { return intrinsics.atomic_cxchgweak(dst, old, new); } else { #panic("an unknown ordering combination"); } } else when failure == .Acquire_Release { - #panic("there is not such thing as an acquire/release failure ordering"); + #panic("there is not such thing as an acquire/release failure ordering") } else when failure == .Release { when success == .Acquire { return intrinsics.atomic_cxchgweak_failacq(dst, old, new); } else { #panic("an unknown ordering combination"); } |