Salome HOME
projects
/
modules
/
paravis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#18963 Minimize compiler warnings
[modules/paravis.git]
/
test
/
standalone
/
simple
/
PyInterp_Utils.h
diff --git
a/test/standalone/simple/PyInterp_Utils.h
b/test/standalone/simple/PyInterp_Utils.h
index 039c18574f083f5b2a82c24afbd3d1bb60881a1d..2075e681d3efadf42450b4a89a31c374a30fe7ad 100644
(file)
--- a/
test/standalone/simple/PyInterp_Utils.h
+++ b/
test/standalone/simple/PyInterp_Utils.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
15
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
20
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-60,9
+60,8
@@
public:
*/
~PyLockWrapper()
{
*/
~PyLockWrapper()
{
- PyThreadState* _currState = PyGILState_GetThisThreadState();
#ifdef _DEBUG_
#ifdef _DEBUG_
- if (
_currState
!= _state)
+ if (
PyGILState_GetThisThreadState()
!= _state)
{
std::cout << "!!!!!!!!! PyLockWrapper inconsistency - now entering infinite loop for debugging\n";
while(1);
{
std::cout << "!!!!!!!!! PyLockWrapper inconsistency - now entering infinite loop for debugging\n";
while(1);