From: san Date: Thu, 23 Feb 2006 12:49:35 +0000 (+0000) Subject: Replacing misused "==" operator with a correct assignment. X-Git-Tag: CTH_V1_0_3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3938450772622bf4a0b9186fbbfba4907793e726;p=modules%2Fgui.git Replacing misused "==" operator with a correct assignment. --- diff --git a/src/HDFPersistCopy/HDFdataset.cc b/src/HDFPersistCopy/HDFdataset.cc index 789f6e1a6..f4e7caf5c 100644 --- a/src/HDFPersistCopy/HDFdataset.cc +++ b/src/HDFPersistCopy/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 "); }