Commit 7deb4955 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[trac905] missing return in a catch clause

parent b916d130
......@@ -104,6 +104,7 @@ int
const string ex_what = "Failed to construct @CPPCLASS@ object: " +
string(ex.what());
PyErr_SetString(po_IscException, ex_what.c_str());
return (-1);
} catch (...) {
PyErr_SetString(po_IscException,
"Unexpected exception in constructing @CPPCLASS@");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment