Parcourir la source

Fix unused variable warnings in ctkAbstractPythonManager

Jean-Christophe Fillion-Robin il y a 12 ans
Parent
commit
cefb88ffea
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      Libs/Scripting/Python/Core/ctkAbstractPythonManager.cpp

+ 0 - 2
Libs/Scripting/Python/Core/ctkAbstractPythonManager.cpp

@@ -232,14 +232,12 @@ void ctkAbstractPythonManager::registerCPPClassForPythonQt(const char* name)
 //-----------------------------------------------------------------------------
 bool ctkAbstractPythonManager::systemExitExceptionHandlerEnabled()const
 {
-  Q_D(const ctkAbstractPythonManager);
   return PythonQt::self()->systemExitExceptionHandlerEnabled();
 }
 
 //-----------------------------------------------------------------------------
 void ctkAbstractPythonManager::setSystemExitExceptionHandlerEnabled(bool value)
 {
-  Q_D(ctkAbstractPythonManager);
   PythonQt::self()->setSystemExitExceptionHandlerEnabled(value);
 }