diff --git a/libsrc/interface/nginterface_v2.cpp b/libsrc/interface/nginterface_v2.cpp index f3a94fa3..a0520032 100644 --- a/libsrc/interface/nginterface_v2.cpp +++ b/libsrc/interface/nginterface_v2.cpp @@ -55,6 +55,8 @@ namespace netgen template <> DLL_HEADER Ng_Element Ng_GetElement<0> (int nr) { cout << "Netgen does not support 0-D elements" << endl; + Ng_Element ret; + return ret; } template <> DLL_HEADER Ng_Element Ng_GetElement<1> (int nr)