kyu08 beb05d4a61 Fix makeAtomic in branches_test
When replacing the naked return with a `return result`, the linter starts to
complain about "return copies lock value: sync/atomic.Int32 contains
sync/atomic.noCopy". I suspect this is also a problem when using a naked return,
and the linter just doesn't catch it in that case. Either way, it's better to
use a pointer to ensure that the atomic is not copied.

Co-authored-by: Stefan Haller <stefan@haller-berlin.de>
2025-10-20 07:56:56 +02:00
..
2025-10-19 21:24:28 +02:00
2025-07-08 16:41:22 +02:00
2025-10-14 12:17:13 +02:00
2025-10-09 08:45:58 +02:00
2025-07-08 15:14:45 +02:00
2025-10-09 08:45:58 +02:00
2025-10-14 12:17:13 +02:00
2025-06-05 13:20:38 +02:00
2025-10-14 12:17:13 +02:00
2025-09-05 10:42:03 +02:00