]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Remove unreachable break statements in _ctypes_test.c (GH-140585) (#140588)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 25 Oct 2025 15:39:54 +0000 (17:39 +0200)
committerGitHub <noreply@github.com>
Sat, 25 Oct 2025 15:39:54 +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 2d4877d42d7ee27f538264b8a9eaca95173a9e12..8d7f613421e93ab7489459230d0ff781a2ed07f4 100644 (file)
@@ -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;