From f57201bbd1f85772536e050b490a313ca62cb1b7 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 31 Aug 2021 22:32:53 +0100 Subject: Remove unneeded semicolons from the core library --- core/sync/atomic.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/sync') 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"); } -- cgit v1.2.3