]> granicus.if.org Git - pdns/commitdiff
dnsdist: Remove leftover initialization of a uint16_t to NULL
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 7 Aug 2018 15:45:49 +0000 (17:45 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 7 Aug 2018 15:45:49 +0000 (17:45 +0200)
pdns/dnsdist.cc

index e4c0cd2c9d3c420a332467768c5207b47c98ff66..c9998688736367351638dbadf85128369721e086 100644 (file)
@@ -273,7 +273,7 @@ bool fixUpResponse(char** response, uint16_t* responseLen, size_t* responseSize,
   }
 
   if (ednsAdded || ecsAdded) {
-    uint16_t optStart = NULL;
+    uint16_t optStart;
     size_t optLen = 0;
     bool last = false;