Skip to content

Commit c2de542

Browse files
committed
remove assert(1 == 1) test, now we know
1 parent 6f4ef28 commit c2de542

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Include/cpython/pyatomic.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,6 @@ _Py_atomic_memcpy_ptr_store_relaxed(void *dest, void *src, size_t n)
553553
// XXX: The assertions below currently fail on Android ARM build.
554554
// In fact, assert(1 == 1) fails on that build.
555555

556-
assert(1 == 1);
557-
558556
// assert(((uintptr_t)dest & (uintptr_t)(sizeof (void *) - 1)) == 0);
559557
// assert(((uintptr_t)src & (uintptr_t)(sizeof (void *) - 1)) == 0);
560558
// assert(n % (size_t)sizeof(void *) == 0);

0 commit comments

Comments
 (0)