]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Replacing misused '==' operator with a correct assignment.
authorjfa <jfa@opencascade.com>
Thu, 2 Mar 2006 09:06:30 +0000 (09:06 +0000)
committerjfa <jfa@opencascade.com>
Thu, 2 Mar 2006 09:06:30 +0000 (09:06 +0000)
src/HDFPersist/HDFdataset.cc

index 789f6e1a6f4f053a7b8f6df82ceea9cee25a0347..f4e7caf5c3b7273ea88b1a37f616dbf35ea53179 100644 (file)
@@ -159,7 +159,7 @@ void HDFdataset::GetDim(hdf_size dim[])
       else
        ndim = _ndim;
       _dim = new hdf_size[ndim];
-      if ((ret == HDFdatasetGetDim(_id,_dim)) < 0)
+      if ((ret = HDFdatasetGetDim(_id,_dim)) < 0)
        throw HDFexception("Can't determine the size dimensions of the dataset ");
     }