Salome HOME
First stable version after merging with V3_2_2
[modules/smesh.git] / src / SMESH_I / SMESH_Pattern_i.cxx
index d3647ca09fd242fb0ee9d6bb38c26e641246a4c6..13ed3ac891d890c147c9a0742bb93a2253c0faa5 100644 (file)
@@ -109,8 +109,7 @@ CORBA::Boolean SMESH_Pattern_i::LoadFromFile(const char* theFileContents)
   // remove some gabage from the end
   TCollection_AsciiString patternDescription = (char*) theFileContents;
   int pos = patternDescription.Length();
-  char test = patternDescription.Value( pos );
-  while (! isdigit( (unsigned char)patternDescription.Value( pos )))
+  while (! isdigit( patternDescription.Value( pos )))
     pos--;
   if ( pos != patternDescription.Length() ) {
     patternDescription.Trunc( pos );