Skip to content

Commit

Permalink
remove redundant initializations
Browse files Browse the repository at this point in the history
  • Loading branch information
perazz committed Dec 21, 2023
1 parent 78f558a commit 82b9eda
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/fpm_environment.f90
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ integer function get_os_type() result(r)

first_run = .false.
r = OS_UNKNOWN
length = 0
rc = 0

! Check environment variable `OSTYPE`.
call get_environment_variable('OSTYPE', val, length, rc)
Expand Down
3 changes: 0 additions & 3 deletions src/fpm_meta.f90
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,6 @@ subroutine init_mpi(this,compiler,error)

!> Cleanup
call destroy(this)
fwrap = string_t("")
cwrap = string_t("")
cxxwrap = string_t("")

!> Get all candidate MPI wrappers
call mpi_wrappers(compiler,fort_wrappers,c_wrappers,cpp_wrappers)
Expand Down

0 comments on commit 82b9eda

Please sign in to comment.