REFINEMENT: Remove unused variables.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
Grzegorz Kowal 2020-08-06 18:59:03 -03:00
parent 8b905114b6
commit 2f7743b0c1
2 changed files with 5 additions and 7 deletions

View File

@ -19,7 +19,7 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
endif()
if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
add_compile_options("$<$<CONFIG:RELEASE>:-march=native;-pipe;-pedantic;-ftree-vectorize;-fno-unsafe-math-optimizations;-frounding-math;-fsignaling-nans;-finline-limit=10000;-fdiagnostics-color=always>")
add_compile_options("$<$<CONFIG:RELEASE>:-march=native;-pipe;-pedantic;-ftree-vectorize;-fno-unsafe-math-optimizations;-frounding-math;-fsignaling-nans;-finline-limit=10000;-fdiagnostics-color=always;-Wunused-variable>")
add_compile_options("$<$<CONFIG:DEBUG>:-Og;-pedantic;-W;-Wall>")
endif()

View File

@ -605,9 +605,8 @@ module refinement
use blocks , only : block_data
use coordinates, only : nn => bcells
use coordinates, only : nbl, neu
use coordinates, only : adx, ady, adz
use equations , only : inx, iny, inz
use equations , only : ivx, ivy, ivz
use equations , only : inx, inz
use equations , only : ivx, ivz
use operators , only : curl
! local variables are not implicit by default
@ -697,9 +696,8 @@ module refinement
use blocks , only : block_data
use coordinates, only : nn => bcells
use coordinates, only : nbl, neu
use coordinates, only : adx, ady, adz
use equations , only : inx, iny, inz
use equations , only : ibx, iby, ibz
use equations , only : inx, inz
use equations , only : ibx, ibz
use operators , only : curl
! local variables are not implicit by default