Base: Do not use else before return

This commit is contained in:
Ladislav Michl
2023-11-15 10:12:42 +01:00
committed by 3x380V
parent 411b7573cc
commit 3a25a66a05
13 changed files with 115 additions and 176 deletions

View File

@@ -475,14 +475,11 @@ void InterpreterSingleton::runFile(const char* pxFileName, bool local)
if (PyErr_ExceptionMatches(PyExc_SystemExit)) {
throw SystemExitException();
}
throw PyException();
}
Py_DECREF(result);
}
else {
throw FileException("Unknown file", pxFileName);
}
throw FileException("Unknown file", pxFileName);
}
bool InterpreterSingleton::loadModule(const char* psModName)