Skip to content

Commit ed27f9b

Browse files
committed
Remove duplication
1 parent 0c59079 commit ed27f9b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/fpm/dependency.f90

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,6 @@ subroutine update_dependency(self, name, error)
475475

476476
associate (dep => self%dep(id))
477477
if (allocated(dep%git) .and. dep%update) then
478-
if (self%verbosity > 1) then
479-
write (self%unit, out_fmt) "Update:", dep%name
480-
end if
481478
write (self%unit, out_fmt) "Update:", dep%name
482479
proj_dir = join_path(self%dep_dir, dep%name)
483480
call dep%git%checkout(proj_dir, error)
@@ -862,7 +859,7 @@ pure logical function has_dependency(self, dependency)
862859
!> Instance of the dependency tree
863860
class(dependency_tree_t), intent(in) :: self
864861
!> Dependency configuration to check
865-
class(dependency_config_t), intent(in) :: dependency
862+
class(dependency_node_t), intent(in) :: dependency
866863

867864
has_dependency = self%find(dependency%name) /= 0
868865

0 commit comments

Comments
 (0)