+ fix clang warnings, fix wrong characters
This commit is contained in:
parent
0b47413fe1
commit
30b5311aa4
|
@ -33,7 +33,7 @@
|
|||
|
||||
class SMESH_subMesh;
|
||||
class SMESH_Hypothesis;
|
||||
struct SMESH_subMeshEventListenerData;
|
||||
struct SMESH_subMeshEventListenerData;
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
/*!
|
||||
|
|
|
@ -339,7 +339,7 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh,
|
|||
// --------------------
|
||||
|
||||
double edgeLength = 0;
|
||||
if (_hypLengthFromEdges || !_hypLengthFromEdges && !_hypMaxElementArea)
|
||||
if (_hypLengthFromEdges || (!_hypLengthFromEdges && !_hypMaxElementArea))
|
||||
{
|
||||
int nbSegments = 0;
|
||||
for ( int iW = 0; iW < nbWires; ++iW )
|
||||
|
@ -368,7 +368,7 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh,
|
|||
// Generate surface mesh
|
||||
// -------------------------
|
||||
|
||||
char *optstr;
|
||||
char *optstr = 0;
|
||||
int startWith = MESHCONST_MESHSURFACE;
|
||||
int endWith = MESHCONST_OPTSURFACE;
|
||||
int err = 1;
|
||||
|
|
|
@ -228,7 +228,7 @@ protected:
|
|||
virtual void setProgress(size_t);
|
||||
/**
|
||||
* Resets internal data.
|
||||
* If you want to reimplement this method, it is very important to call it ín
|
||||
* If you want to reimplement this method, it is very important to call it in
|
||||
* the re-implemented method.
|
||||
*/
|
||||
virtual void resetData();
|
||||
|
|
|
@ -659,7 +659,7 @@ private:
|
|||
pGMI = (tGMI) GetProcAddress( hPsapi, "GetModuleInformation" );
|
||||
if ( (pEPM == NULL) || (pGMFNE == NULL) || (pGMBN == NULL) || (pGMI == NULL) )
|
||||
{
|
||||
// we couldn´t find all functions
|
||||
// we couldn't find all functions
|
||||
FreeLibrary(hPsapi);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user