소스 검색

Fix unused variable warnings in ctkAbstractPythonManager

Jean-Christophe Fillion-Robin 12 년 전
부모
커밋
cefb88ffea
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  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);
 }