Rename variable to avoid shadowing.
Suppress unused argument warning in release mode.
Avoid using VLAs (C99 feature).

Regular C fixed-size arrays are sufficient here, although in general
std::vector is the preferred replacement (if needing the dynamic size).
This commit introduces mirror_grid

Fixed various nits
Merge pull request #691 from alfbr/master

This commit introduces mirror_grid, a small application that mirrors gri...
Make compatible with C++98, silence warnings.
Merge pull request #692 from atgeirr/fix-mirror-grid

Make compatible with C++98, silence warnings.
Merge pull request #690 from atgeirr/fix-warnings

Fix warnings
PVT properties: allow them to be temperature dependent

Note that this patch does not introduce any real temperature
dependence but only changes the APIs for the viscosity and for the
density related methods. Note that I also don't like the fact that
this requires so many changes to so many files, but with the current
design of the property classes I cannot see a way to avoid this...