From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 25 Oct 2025 15:39:54 +0000 (+0200) Subject: [3.13] Remove unreachable break statements in _ctypes_test.c (GH-140585) (#140588) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01f9c51caa0450de2d9101a68089b008dd92cde3;p=thirdparty%2FPython%2Fcpython.git [3.13] Remove unreachable break statements in _ctypes_test.c (GH-140585) (#140588) Remove unreachable break statements in _ctypes_test.c (GH-140585) (cherry picked from commit 2a1c9bd616b1b3a07c74d280e3f7e2bd94d0cc22) Co-authored-by: Shamil --- diff --git a/Modules/_ctypes/_ctypes_test.c b/Modules/_ctypes/_ctypes_test.c index 2d4877d42d7e..8d7f613421e9 100644 --- a/Modules/_ctypes/_ctypes_test.c +++ b/Modules/_ctypes/_ctypes_test.c @@ -871,13 +871,10 @@ EXPORT(RECT) ReturnRect(int i, RECT ar, RECT* br, POINT cp, RECT dr, { case 0: return ar; - break; case 1: return dr; - break; case 2: return gr; - break; } return ar;