diff options
author | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2020-09-15 20:11:30 +0200 |
---|---|---|
committer | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2020-09-15 20:11:30 +0200 |
commit | e6a10dead540b2e23ba27aebf30353b7179defbd (patch) | |
tree | 2fe383c514880c0d94b702908518ab1f9e74d37f | |
parent | fb483ad73dec8a10d94c349241779d782c498d60 (diff) | |
download | fpm-e6a10dead540b2e23ba27aebf30353b7179defbd.tar.gz fpm-e6a10dead540b2e23ba27aebf30353b7179defbd.zip |
Correct import from toml-f, remove unused variables from tests
-rw-r--r-- | fpm/src/fpm/toml.f90 | 3 | ||||
-rw-r--r-- | fpm/test/test_manifest.f90 | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/fpm/src/fpm/toml.f90 b/fpm/src/fpm/toml.f90 index ca14a3c..e2445c4 100644 --- a/fpm/src/fpm/toml.f90 +++ b/fpm/src/fpm/toml.f90 @@ -14,8 +14,7 @@ module fpm_toml use fpm_error, only : error_t, fatal_error, file_not_found_error use tomlf, only : toml_table, toml_array, toml_key, toml_stat, get_value, & - & set_value, toml_parse, toml_error - use tomlf_type, only : new_table, add_table, add_array, len + & set_value, toml_parse, toml_error, new_table, add_table, add_array, len implicit none private diff --git a/fpm/test/test_manifest.f90 b/fpm/test/test_manifest.f90 index c47ecba..d2dc891 100644 --- a/fpm/test/test_manifest.f90 +++ b/fpm/test/test_manifest.f90 @@ -600,7 +600,6 @@ contains type(error_t), allocatable, intent(out) :: error type(toml_table) :: table - type(toml_table), pointer :: child type(toml_array), pointer :: children, children2 integer :: stat type(package_t) :: package @@ -624,7 +623,6 @@ contains type(error_t), allocatable, intent(out) :: error type(toml_table) :: table - type(toml_table), pointer :: child type(toml_array), pointer :: children, children2 integer :: stat type(package_t) :: package @@ -649,7 +647,6 @@ contains type(toml_table) :: table type(toml_table), pointer :: child - character(len=:), allocatable :: name integer :: stat type(test_t) :: test |