Skip to content

Commit 9f4fcb0

Browse files
committed
Remove unused left-hand side e2
The subsequent steps intentionally use `find` instead of using the available reference.
1 parent e24e948 commit 9f4fcb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit/util/irep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ SCENARIO("irept_memory", "[core][utils][irept]")
139139
REQUIRE(irep.find("a_new_element").id() == "some_id");
140140

141141
irept irep2("second_irep");
142-
irept &e2 = irep.add("a_new_element", irep2);
142+
irep.add("a_new_element", irep2);
143143
REQUIRE(irep.find("a_new_element").id() == "second_irep");
144144
REQUIRE(irep.get_named_sub().size() == 1);
145145

0 commit comments

Comments
 (0)