]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-106280: Remove unnecessary unreachable code (gh-106285)
authorDong-hee Na <donghee.na@python.org>
Fri, 30 Jun 2023 15:58:07 +0000 (00:58 +0900)
committerGitHub <noreply@github.com>
Fri, 30 Jun 2023 15:58:07 +0000 (15:58 +0000)
Python/ceval.c

index 2010e9e6e7a1c657737fe2adb72c9e670762865c..80ae85c24f0540b2e359065925b6ca4245a2c72a 100644 (file)
@@ -2845,9 +2845,6 @@ _PyUopExecute(_PyExecutorObject *executor, _PyInterpreterFrame *frame, PyObject
             {
                 fprintf(stderr, "Unknown uop %d, operand %" PRIu64 "\n", opcode, operand);
                 Py_FatalError("Unknown uop");
-                abort();  // Unreachable
-                for (;;) {}
-                // Really unreachable
             }
 
         }