From: jfa Date: Thu, 2 Mar 2006 09:06:30 +0000 (+0000) Subject: Replacing misused '==' operator with a correct assignment. X-Git-Tag: Tag_09032006~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d6faa116f8be1f6b73edfb24f1cddab82b971d75;p=modules%2Fkernel.git Replacing misused '==' operator with a correct assignment. --- diff --git a/src/HDFPersist/HDFdataset.cc b/src/HDFPersist/HDFdataset.cc index 789f6e1a6..f4e7caf5c 100644 --- a/src/HDFPersist/HDFdataset.cc +++ b/src/HDFPersist/HDFdataset.cc @@ -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 "); }