Fix some warnings caught by gfortran
Description
Fix warnings generated by gfortran when using the following flags: -Winteger-division
. -Wunused-parameter
, and -Wcharacter-truncation
. Some of these problems were actual bugs.
News snippet
Fix some warnings caught by gfortran.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.