From: eap Date: Thu, 10 Dec 2020 09:26:58 +0000 (+0300) Subject: #18963 Minimize compiler warnings (finish) X-Git-Tag: V9_7_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b489ba57313c21133c1c45c569e2ebb367ed3d46;p=plugins%2Fghs3dprlplugin.git #18963 Minimize compiler warnings (finish) --- diff --git a/src/GHS3DPRLPlugin/MG_TetraHPC_API.cxx b/src/GHS3DPRLPlugin/MG_TetraHPC_API.cxx index 6aad3c6..2522d9b 100644 --- a/src/GHS3DPRLPlugin/MG_TetraHPC_API.cxx +++ b/src/GHS3DPRLPlugin/MG_TetraHPC_API.cxx @@ -621,7 +621,9 @@ struct MG_TetraHPC_API::LibData // to avoid compiler warnings { volatile bool& _cancelled_flag; double& _progress; - LibData(volatile bool& cancelled_flag, double& progress): _cancelled_flag{cancelled_flag}, _progress{progress} {} + LibData(volatile bool& cancelled_flag, double& progress) + : _cancelled_flag{cancelled_flag}, _progress{progress} + {} }; #endif // ifdef USE_MG_LIBS @@ -751,7 +753,7 @@ bool MG_TetraHPC_API::Compute( const std::string& cmdLine ) #endif } - (void)cmdLine; // todo: unused + (void)cmdLine; // unused // Run library ONLY // int err = system( cmdLine.c_str() ); // run diff --git a/src/tepal2med/tepal2med.cxx b/src/tepal2med/tepal2med.cxx index c97e2fa..5a2005c 100644 --- a/src/tepal2med/tepal2med.cxx +++ b/src/tepal2med/tepal2med.cxx @@ -399,7 +399,7 @@ if (mymailw->verbose>3){ std::cout<<"\nConnectivity MED_TRIA3: no node1 node2 node3 family\n"; for (i=0;iverbose>3){ if (mymailw->verbose>9) { std::cout<<"\nVertices: no x y z family\n"; for (i=0;iverbose>3){ if (mymailw->verbose>9) { std::cout<<"\nConnectivity MED_SEG2: no node1 node2 family\n"; for (i=0;iverbose>3){ if (mymailw->verbose>9) { std::cout<<"\nConnectivity MED_TRIA3: no node1 node2 node3 family\n"; for (i=0;i