Merge pull request #2491 from joakim-hove/remove-unused
Remove unused variables
This commit is contained in:
@@ -651,7 +651,7 @@ BOOST_AUTO_TEST_CASE(TestWLIST) {
|
||||
|
||||
|
||||
Action::Context context(st, wlm);
|
||||
auto& wl = wlm.newList("*LIST1", {"W1", "W3", "W5"});
|
||||
wlm.newList("*LIST1", {"W1", "W3", "W5"});
|
||||
auto res = ast.eval(context);
|
||||
auto wells = res.wells();
|
||||
BOOST_CHECK(res);
|
||||
|
||||
@@ -75,9 +75,7 @@ BOOST_AUTO_TEST_CASE(WLISTManager) {
|
||||
BOOST_CHECK(!wlm.hasList("NO_SUCH_LIST"));
|
||||
|
||||
|
||||
{
|
||||
auto& wlist1 = wlm.newList("LIST1", {"A", "B", "C"});
|
||||
}
|
||||
wlm.newList("LIST1", {"A", "B", "C"});
|
||||
|
||||
// If a new list is added with the same name as an existing list the old
|
||||
// list is dropped and a new list is created.
|
||||
|
||||
Reference in New Issue
Block a user