From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 25 Oct 2025 15:39:42 +0000 (+0200) Subject: [3.14] Remove unreachable break statements in _ctypes_test.c (GH-140585) (#140587) X-Git-Tag: v3.14.1~296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96029bc4724ca2d01cb6a81e66aa159571a99b8f;p=thirdparty%2FPython%2Fcpython.git [3.14] Remove unreachable break statements in _ctypes_test.c (GH-140585) (#140587) 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 663388050078..a0c9d8b70fee 100644 --- a/Modules/_ctypes/_ctypes_test.c +++ b/Modules/_ctypes/_ctypes_test.c @@ -989,13 +989,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;