Skip to content

Commit 82b9eda

Browse files
committed
remove redundant initializations
1 parent 78f558a commit 82b9eda

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/fpm_environment.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ integer function get_os_type() result(r)
5050

5151
first_run = .false.
5252
r = OS_UNKNOWN
53-
length = 0
54-
rc = 0
5553

5654
! Check environment variable `OSTYPE`.
5755
call get_environment_variable('OSTYPE', val, length, rc)

src/fpm_meta.f90

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,6 @@ subroutine init_mpi(this,compiler,error)
490490

491491
!> Cleanup
492492
call destroy(this)
493-
fwrap = string_t("")
494-
cwrap = string_t("")
495-
cxxwrap = string_t("")
496493

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

0 commit comments

Comments
 (0)