+ fix clang warnings, fix wrong characters

This commit is contained in:
wmayer 2015-10-05 17:59:19 +02:00
parent 0b47413fe1
commit 30b5311aa4
4 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@
class SMESH_subMesh;
class SMESH_Hypothesis;
struct SMESH_subMeshEventListenerData;
struct SMESH_subMeshEventListenerData;
// ------------------------------------------------------------------
/*!

View File

@ -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;

View File

@ -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();

View File

@ -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;
}