Skip to content

Commit adffaba

Browse files
authored
Merge pull request #3310 from tautschnig/vs-unused-lhs
Remove unused left-hand side e2 [blocks: #2310]
2 parents b459eb2 + 9f4fcb0 commit adffaba

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)