X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=tools%2FPyInterp%2Fsrc%2FPyInterp_Utils.h;h=d1b142e1bd182081d2e49cdfdf03d6aeac59c8b1;hb=5015bf4f1283a8ca5d6ab862f235322755cb7be9;hp=7ad22d962521bf792f4064d1f26b711b59750faa;hpb=00be77fd72d1e9378e32b88a468ec16bebb9b806;p=modules%2Fgui.git diff --git a/tools/PyInterp/src/PyInterp_Utils.h b/tools/PyInterp/src/PyInterp_Utils.h index 7ad22d962..d1b142e1b 100644 --- a/tools/PyInterp/src/PyInterp_Utils.h +++ b/tools/PyInterp/src/PyInterp_Utils.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -73,6 +73,7 @@ public: ~PyLockWrapper() { PyThreadState* _currState = PyGILState_GetThisThreadState(); + (void)_currState; #ifdef _DEBUG_ if (_currState != _state) {