Remove catch block for plain C strings

LGTM complains about this construct leaking memory. Commit 227cf6de88
eliminated the parts of FreeCAD that throw those strings. This commit
eliminates the catch block.
This commit is contained in:
Chris Hennes
2021-02-06 10:44:33 -06:00
committed by wwmayer
parent 18dc155b3f
commit 53972c62e3

View File

@@ -482,10 +482,6 @@ BaseExport extern PyObject* BaseExceptionFreeCADAbort;
{ \
R; \
} \
catch(const char *e) \
{ \
_Py_Error(R,Base::BaseExceptionFreeCADError,e); \
} \
#ifndef DONT_CATCH_CXX_EXCEPTIONS
/// see docu of PY_TRY