Salome HOME
#18963 Minimize compiler warnings
[modules/kernel.git] / src / KernelHelpers / KernelHelpersUseCases.cxx
index e7b585952f1e013a5c1ecf2722f498aafccb9318..7c41260adbf3ce47d0f56aaa40b419f4bc7bc36d 100644 (file)
@@ -82,6 +82,7 @@ bool TEST_getSalomeLauncher() {
   for (int i=0; i<10; i++) {
     try {
       int pid = salomeLauncher->getPID();
+      SALOME_UNUSED(pid); // unused in release mode
       LOG("["<<i<<"] SALOME launcher PID = " << pid);
     }
     catch (const SALOME::SALOME_Exception & ex) {
@@ -111,7 +112,7 @@ bool TEST_getSalomeLauncher() {
 
 
 
-int main (int argc, char * argv[]) {
+int main () {
   TEST_corba();
   TEST_getLifeCycleCORBA();
   TEST_getStudy();