Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2021
[modules/kernel.git]
/
src
/
SALOMEDS
/
SALOMEDS_Client.cxx
diff --git
a/src/SALOMEDS/SALOMEDS_Client.cxx
b/src/SALOMEDS/SALOMEDS_Client.cxx
index db0f0e245137dd402820f221519ff99754ed7ec0..c3fccc7b0122a25dac0e5b3aff6022ea5188fca0 100644
(file)
--- a/
src/SALOMEDS/SALOMEDS_Client.cxx
+++ b/
src/SALOMEDS/SALOMEDS_Client.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
21
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-71,6
+71,7
@@
static void DumpStudy() {
MESSAGE("Explore Study and Write name of each object if it exists");
char* name;
MESSAGE("Explore Study and Write name of each object if it exists");
char* name;
+ SALOME_UNUSED(name); // unused in release mode
SALOMEDS::SComponentIterator_var itcomp = KERNEL::getStudyServant()->NewComponentIterator();
int offset = 1;
for (; itcomp->More(); itcomp->Next()) {
SALOMEDS::SComponentIterator_var itcomp = KERNEL::getStudyServant()->NewComponentIterator();
int offset = 1;
for (; itcomp->More(); itcomp->Next()) {
@@
-90,6
+91,7
@@
static void Test()
{
try {
char* name;
{
try {
char* name;
+ SALOME_UNUSED(name); // unused in release mode
SALOMEDS::Study_var myStudy = KERNEL::getStudyServant();
SALOMEDS::Study_var myStudy = KERNEL::getStudyServant();
@@
-279,7
+281,7
@@
int main(int argc, char** argv)
catch(CORBA::Exception&) {
MESSAGE( "Caught CORBA::Exception." )
}
catch(CORBA::Exception&) {
MESSAGE( "Caught CORBA::Exception." )
}
- catch(omniORB::fatalException& fe) {
+ catch(omniORB::fatalException& fe) {
//!< TODO: unused variable
MESSAGE( "Caught omniORB::fatalException:" )
MESSAGE( " file: " << fe.file() )
MESSAGE( " line: " << fe.line() )
MESSAGE( "Caught omniORB::fatalException:" )
MESSAGE( " file: " << fe.file() )
MESSAGE( " line: " << fe.line() )