Salome HOME
Copyright update 2022
[modules/paravis.git] / test / standalone / simple / Container_init_python.cxx
index 9f32e130aa5e9796220b806adeaa803fbc610285..5a549c54ebf67da6bf56e3fac16cb8702d765739 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  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
@@ -50,7 +50,7 @@ void KERNEL_PYTHON::init_python(int argc, char **argv)
   // set stdout to line buffering (aka C++ std::cout)
   setvbuf(stdout, (char *)NULL, _IOLBF, BUFSIZ);
   char* salome_python=getenv("SALOME_PYTHON");
-  size_t size_salome_python = sizeof(salome_python) / sizeof(salome_python[0]);
+  //size_t size_salome_python = sizeof(salome_python) / sizeof(salome_python[0]); // unused
   if(salome_python != 0)
          Py_SetProgramName(Py_DecodeLocale(salome_python, NULL));