From 16e09ea01ccac0dd51c0242a8cf48df3bc120825 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 8 Apr 2017 12:14:01 +0200 Subject: [PATCH] fix warning of unused variable --- src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPyImp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPyImp.cpp b/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPyImp.cpp index 6caf03d6e5..f29fec543d 100644 --- a/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPyImp.cpp +++ b/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPyImp.cpp @@ -286,6 +286,7 @@ PyObject* BRepOffsetAPI_MakePipeShellPy::setMaxDegree(PyObject *args) this->getBRepOffsetAPI_MakePipeShellPtr()->SetMaxDegree(degree); Py_Return; #else + (void)args; PyErr_SetString(PyExc_RuntimeError, "requires OCC >= 6.8"); return 0; #endif @@ -300,6 +301,7 @@ PyObject* BRepOffsetAPI_MakePipeShellPy::setMaxSegments(PyObject *args) this->getBRepOffsetAPI_MakePipeShellPtr()->SetMaxSegments(nbseg); Py_Return; #else + (void)args; PyErr_SetString(PyExc_RuntimeError, "requires OCC >= 6.8"); return 0; #endif