Salome HOME
#18963 Minimize compiler warnings
[modules/kernel.git] / src / KernelHelpers / KernelHelpersUseCases.cxx
index da669bc9b0c2ee850817ebfe6d6105c84ad552b0..7c41260adbf3ce47d0f56aaa40b419f4bc7bc36d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -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();