]> granicus.if.org Git - python/commit
Issue #28152: Fix -Wunreachable-code warning on clang
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 5 Dec 2016 17:00:42 +0000 (18:00 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 5 Dec 2016 17:00:42 +0000 (18:00 +0100)
commit408bfa6d96456a7c3621e5c6d249d3fac337a78b
treeba48f0c57864d5f6e7c34fd52f40147ce9aebb80
parent44d9bea1b823ed1ac25a78bb350b03848e59ac80
Issue #28152: Fix -Wunreachable-code warning on clang

Replace 0 with (0) to ignore a compiler warning about dead code on
"((int)(SEM_VALUE_MAX) < 0)": SEM_VALUE_MAX is not negative on Linux.
Modules/_multiprocessing/multiprocessing.c