]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Remove unreachable break statements in _ctypes_test.c (GH-140585) (#140587)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 25 Oct 2025 15:39:42 +0000 (17:39 +0200)
committerGitHub <noreply@github.com>
Sat, 25 Oct 2025 15:39:42 +0000 (18:39 +0300)
Remove unreachable break statements in _ctypes_test.c (GH-140585)
(cherry picked from commit 2a1c9bd616b1b3a07c74d280e3f7e2bd94d0cc22)

Co-authored-by: Shamil <ashm.tech@proton.me>
Modules/_ctypes/_ctypes_test.c

index 66338805007853b679d89a81211f9a00b6516058..a0c9d8b70fee46922657e5fc9f271a8a82e28c47 100644 (file)
@@ -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;