Skip to content

Commit c9b0611

Browse files
committed
shortcircuit if
1 parent cb6ab49 commit c9b0611

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fpm.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ subroutine build_model(model, settings, package_config, error)
9292

9393
! Print enabled features/profile in verbose mode
9494
if (settings%verbose) then
95-
if (allocated(settings%features) .and. size(settings%features) > 0) then
96-
print *, '+ features: [', string_cat(settings%features,','), ']'
95+
if (allocated(settings%features)) then
96+
if (size(settings%features)>0) print *, '+ features: [', string_cat(settings%features,','),']'
9797
end if
9898
if (allocated(settings%profile)) then
9999
print *, '+ profile: ', settings%profile

0 commit comments

Comments
 (0)