Skip to content

Commit eac88f3

Browse files
committed
remove unused functions
1 parent a668c79 commit eac88f3

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

src/fpm_command_line.f90

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,7 @@ module fpm_command_line
160160
& ' ', 'fpm', 'new', 'build', 'run', 'clean', &
161161
& 'test', 'runner', 'install', 'update', 'list', 'help', 'version', 'publish' ]
162162

163-
character(len=:), allocatable :: val_runner, val_compiler, val_flag, val_cflag, val_cxxflag, val_ldflag, &
164-
val_profile, val_runner_args, val_dump
165-
163+
character(len=:), allocatable :: val_runner,val_runner_args,val_dump
166164

167165
! '12345678901234567890123456789012345678901234567890123456789012345678901234567890',&
168166
character(len=80), parameter :: help_text_build_common(*) = [character(len=80) :: &
@@ -526,8 +524,6 @@ subroutine get_command_line_settings(cmd_settings)
526524
& --config-file " " &
527525
&', help_install, version_text)
528526

529-
call check_build_vals()
530-
531527
config_file = sget('config-file')
532528
allocate(install_settings)
533529

@@ -558,8 +554,6 @@ subroutine get_command_line_settings(cmd_settings)
558554
& --config-file " " &
559555
& -- ', help_test,version_text)
560556

561-
call check_build_vals()
562-
563557
if( size(unnamed) > 1 )then
564558
names=unnamed(2:)
565559
else
@@ -636,8 +630,6 @@ subroutine get_command_line_settings(cmd_settings)
636630
& --dependencies "filename" ', &
637631
help_build, version_text)
638632

639-
call check_build_vals()
640-
641633
allocate(export_settings)
642634
call build_settings(export_settings, show_model=.true.)
643635
call get_char_arg(export_settings%dump_model, 'model')
@@ -705,8 +697,6 @@ subroutine get_command_line_settings(cmd_settings)
705697
& --config-file " " &
706698
& --', help_publish, version_text)
707699

708-
call check_build_vals()
709-
710700
config_file = sget('config-file')
711701
token_s = sget('token')
712702

@@ -758,18 +748,6 @@ subroutine get_command_line_settings(cmd_settings)
758748

759749
contains
760750

761-
subroutine check_build_vals()
762-
val_compiler=sget('compiler')
763-
if(val_compiler=='') val_compiler='gfortran'
764-
765-
val_flag = " " // sget('flag')
766-
val_cflag = " " // sget('c-flag')
767-
val_cxxflag = " " // sget('cxx-flag')
768-
val_ldflag = " " // sget('link-flag')
769-
val_profile = sget('profile')
770-
771-
end subroutine check_build_vals
772-
773751
!> Print help text and stop
774752
subroutine printhelp(lines)
775753
character(len=:),intent(in),allocatable :: lines(:)

0 commit comments

Comments
 (0)