diff --git a/alib2/test-src/regexp/RegExpTest.cpp b/alib2/test-src/regexp/RegExpTest.cpp
index 461c82185f465efc8c956ec308481d889eb835d5..fbcf6ba13e1393c9e20b0b0ba3661439a5068a76 100644
--- a/alib2/test-src/regexp/RegExpTest.cpp
+++ b/alib2/test-src/regexp/RegExpTest.cpp
@@ -112,9 +112,6 @@ void RegExpTest::testOrder() {
   regexp::RegExp eps1(e2);
   regexp::RegExp sym1(s1);
 
-  bool tmp = alt1 < emp1;
-  bool tmp2 = emp1 < alt1;
-
   CPPUNIT_EXCLUSIVE_OR(alt1 < con1, con1 < alt1);
   CPPUNIT_EXCLUSIVE_OR(alt1 < ite1, ite1 < alt1);
   CPPUNIT_EXCLUSIVE_OR(alt1 < emp1, emp1 < alt1);