fixed a computed value not used warning
mtk [Tue, 1 Nov 2011 13:14:46 +0000 (13:14 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1820 270642c3-0616-0410-b53a-bc976706d245

senf/Packets/GenericTLV.ct

index cb71af7..a2df5c0 100644 (file)
@@ -103,7 +103,7 @@ prefix_ void senf::GenericTLVParserRegistry<BaseParser,Keytype>::registerParser(
 {
     Keytype key (Parser::typeId+0);
     SENF_ASSERT_EXPRESSION(
-            map_.insert( key, new detail::GenericTLVParserRegistry_Entry<BaseParser, Parser>()).second == true,
+            map_.insert( key, new detail::GenericTLVParserRegistry_Entry<BaseParser, Parser>()).second,
         "Duplicate TLV registration");
 }