]> https://gitweb.dealii.org/ - dealii.git/commit
Remove the warnings of unused variables
authorDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Mon, 27 Aug 2018 12:36:39 +0000 (14:36 +0200)
committerDaniel Garcia-Sanchez <daniel.garcia-sanchez@insp.upmc.fr>
Wed, 9 Jan 2019 18:08:30 +0000 (19:08 +0100)
commitcbbfffa9d44a2baffc8ce258377de26edbe9a208
tree1ccdcbde04d859fd47172b484458c17bd26f000d
parenta3f6ef33a4742c8ec910e771de6e013e1ce0b28b
Remove the warnings of unused variables

There are many warnings of unused variables in release mode because of Assert. Example:

herr_t ret;
ret = H5Pclose(plist);
Assert(ret >= 0, ExcMessage("Error at H5Pclose"));

In order to remove these warnings the declaration of variable ret has been moved from the functions to the class definition of HDF5Object.
include/deal.II/base/hdf5.h
source/base/hdf5.cc
source/base/hdf5.inst.in

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.