Skip to content

Commit 4656b32

Browse files
committed
Removed unused variables
1 parent 138636d commit 4656b32

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/json_example.f90

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,6 @@ subroutine add_variables_to_input(me, variable, units, frame, center, rdata)
333333
real(wp),dimension(:),intent(in) :: rdata
334334

335335
type(json_value),pointer :: var !a variable in the trajectory:
336-
integer :: i
337336

338337
!initialize:
339338
nullify(var)
@@ -617,4 +616,4 @@ end subroutine print_error_message
617616

618617
!*******************************************************************************************************
619618
end program json_test
620-
!*******************************************************************************************************
619+
!*******************************************************************************************************

src/json_module.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2577,7 +2577,6 @@ subroutine json_get_chars(this, path, value, found)
25772577

25782578
type(json_value), pointer :: p
25792579
character(len=:),allocatable :: s,pre,post
2580-
integer :: irep
25812580
integer :: j,jprev,n
25822581
character(len=1) :: c
25832582

@@ -2856,7 +2855,6 @@ subroutine json_parse(file, p)
28562855
character(len=*),intent(in) :: file
28572856
type(json_value),pointer :: p
28582857

2859-
logical :: unit_available
28602858
integer :: iunit
28612859
integer :: istat
28622860

0 commit comments

Comments
 (0)