PVS: V779 Unreachable code detected. It is possible that an error is present.

This commit is contained in:
wmayer
2019-02-17 20:12:56 +01:00
parent 6cb0b79e4b
commit 2f31efe4c3
4 changed files with 8 additions and 15 deletions

View File

@@ -819,9 +819,6 @@ PyObject* GeometryCurvePy::intersectCC(PyObject *args)
PyErr_SetString(PyExc_RuntimeError, e.what());
return 0;
}
PyErr_SetString(PyExc_TypeError, "Geometry is not a curve");
return 0;
}
// General intersection function