Fixed a warning related to an empty if-body.
Fixed a warning because of an unused variable in mixed-precision-CG.