Silence more bogus PC-Lint warnings
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 12 Dec 2011 14:03:47 +0000 (15:03 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 12 Dec 2011 14:03:47 +0000 (15:03 +0100)
src/host/pingerfactory.cpp
src/icmp/icmppacketfactory.cpp
src/tcp/tcpsegmentfactory.cpp

index 3463923..100f57e 100644 (file)
@@ -109,5 +109,5 @@ shared_ptr<Pinger> PingerFactory::createPinger(
         exit( EXIT_FAILURE );
     }
 
-    return shared_ptr<Pinger>();                                                                                                                        //lint !527
+    return shared_ptr<Pinger>();                                                                                                                        //lint !e527
 }
index cbae2ec..6b3089d 100644 (file)
@@ -67,7 +67,7 @@ IcmpPacketItem IcmpPacketFactory::create_icmp_packet(
     }
     else
     {
-        BOOST_ASSERT( !"Invalid ICMP Packet Type." );
+        BOOST_ASSERT( !"Invalid ICMP Packet Type." );                                                                                       //lint !e506
     }
 
     if ( !icmp_packet->read( is ) )
@@ -113,7 +113,7 @@ IcmpPacketItem IcmpPacketFactory::create_icmp_packet_echo_request(
     }
     else
     {
-        BOOST_ASSERT( !"Invalid ICMP Packet Type." );
+        BOOST_ASSERT( !"Invalid ICMP Packet Type." );                                                                                               //lint !e506
     }
 
     return icmp_packet;
index 9a4319a..ae576c6 100644 (file)
@@ -66,7 +66,7 @@ TcpSegmentItem TcpSegmentFactory::create_tcp_segment(
     }
     else
     {
-        BOOST_ASSERT( !"Invalid TCP Segment Type." );
+        BOOST_ASSERT( !"Invalid TCP Segment Type." );                                                                                   //lint !e506
     }
 
     if ( !tcp_segment->read( is ) )