+ fix warnings with clang

This commit is contained in:
wmayer
2014-09-24 17:46:04 +02:00
parent 20398c9f35
commit 696d4a5f4a
19 changed files with 79 additions and 116 deletions

View File

@@ -127,7 +127,7 @@ void PartExport initPart()
}
else {
Base::Console().Error("Can not inherit Part.OCCError form BaseFreeCADError.\n");
PyObject* OCCError = PyErr_NewException("Part.OCCError",
OCCError = PyErr_NewException("Part.OCCError",
PyExc_RuntimeError, NULL);
}
Py_INCREF(OCCError);