]> granicus.if.org Git - pdns/commitdiff
silence a warning - thanks zap ;-)
authorBert Hubert <bert.hubert@netherlabs.nl>
Mon, 9 Aug 2010 20:39:14 +0000 (20:39 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Mon, 9 Aug 2010 20:39:14 +0000 (20:39 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1686 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dnsparser.cc

index dff971c244cb3df78bc4bd8966431910d29581d1..964ac5e9c7bfe298ee6c91def8927afdcac9956e 100644 (file)
@@ -605,7 +605,7 @@ void ageDNSPacket(std::string& packet, uint32_t seconds)
       dpm.skipLabel();
       
       uint16_t dnstype = dpm.get16BitInt();
-      uint16_t dnsclass = dpm.get16BitInt();
+      /* uint16_t dnsclass = */ dpm.get16BitInt();
       
       if(dnstype == QType::OPT) // not aging that one with a stick
        break;