Skip to content

Commit 427bc68

Browse files
authored
Fix warnings [-Wunused-xxx] from compilation (#879)
2 parents 8672fe1 + f749a16 commit 427bc68

24 files changed

+29
-38
lines changed

example/hashmaps/example_hashmaps_get_other_data.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
program example_get_other_data
22
use stdlib_kinds, only: int8, int64
3-
use stdlib_hashmaps, only: chaining_hashmap_type, int_index
3+
use stdlib_hashmaps, only: chaining_hashmap_type
44
use stdlib_hashmap_wrappers, only: fnv_1_hasher, key_type, other_type, set, get
55
implicit none
66
logical :: conflict

example/hashmaps/example_hashmaps_remove.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
program example_remove
22
use stdlib_kinds, only: int8, int64
3-
use stdlib_hashmaps, only: open_hashmap_type, int_index
3+
use stdlib_hashmaps, only: open_hashmap_type
44
use stdlib_hashmap_wrappers, only: fnv_1_hasher, &
55
fnv_1a_hasher, key_type, other_type, set
66
implicit none

example/hashmaps/example_hashmaps_set_other_data.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
program example_set_other_data
2-
use stdlib_kinds, only: int8
32
use stdlib_hashmaps, only: open_hashmap_type
43
use stdlib_hashmap_wrappers, only: fnv_1_hasher, &
54
fnv_1a_hasher, key_type, other_type, set

example/linalg/example_determinant.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ program example_determinant
22
use stdlib_kinds, only: dp
33
use stdlib_linalg, only: det, linalg_state_type
44
implicit none
5-
type(linalg_state_type) :: err
65

76
real(dp) :: d
87

example/linalg/example_eigvals.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ program example_eigvals
33
use stdlib_linalg, only: eigvals
44
implicit none
55

6-
integer :: i
76
real, allocatable :: A(:,:),lambda(:)
87
complex, allocatable :: cA(:,:),clambda(:)
98

example/linalg/example_eigvalsh.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ program example_eigvalsh
33
use stdlib_linalg, only: eigvalsh
44
implicit none
55

6-
integer :: i
76
real, allocatable :: A(:,:),lambda(:)
87
complex, allocatable :: cA(:,:)
98

example/linalg/example_state2.f90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ program example_state2
77
use stdlib_linalg_state, only: linalg_state_type, LINALG_VALUE_ERROR, LINALG_SUCCESS, &
88
linalg_error_handling
99
implicit none
10-
integer :: info
1110
type(linalg_state_type) :: err
1211
real :: a_div_b
1312

example/selection/selection_vs_sort.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
program selection_vs_sort
2-
use stdlib_kinds, only: dp, sp, int64
2+
use stdlib_kinds, only: int64
33
use stdlib_selection, only: select, arg_select
44
use stdlib_sorting, only: sort
55
implicit none

src/stdlib_linalg_blas_c.fypp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2549,8 +2549,6 @@ module stdlib_linalg_blas_c
25492549
! -- reference blas level1 routine --
25502550
! -- reference blas is a software package provided by univ. of tennessee, --
25512551
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
2552-
! Constants
2553-
integer, parameter :: wp = kind(1._sp)
25542552
! Scaling Constants
25552553
! Scalar Arguments
25562554
real(sp), intent(out) :: c

src/stdlib_linalg_blas_d.fypp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,6 @@ module stdlib_linalg_blas_d
848848
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
849849
! march 2021
850850
! Constants
851-
integer, parameter :: wp = kind(1._dp)
852851
real(dp), parameter :: maxn = huge(0.0_dp)
853852
! .. blue's scaling constants ..
854853
! Scalar Arguments
@@ -985,8 +984,6 @@ module stdlib_linalg_blas_d
985984
! -- reference blas level1 routine --
986985
! -- reference blas is a software package provided by univ. of tennessee, --
987986
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
988-
! Constants
989-
integer, parameter :: wp = kind(1._dp)
990987
! Scaling Constants
991988
! Scalar Arguments
992989
real(dp), intent(inout) :: a, b
@@ -4422,7 +4419,6 @@ module stdlib_linalg_blas_d
44224419
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
44234420
! march 2021
44244421
! Constants
4425-
integer, parameter :: wp = kind(1._dp)
44264422
real(dp), parameter :: maxn = huge(0.0_dp)
44274423
! .. blue's scaling constants ..
44284424
! Scalar Arguments

0 commit comments

Comments
 (0)