From ceae225c021dab077589be42819aac7939baf9ce Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 7 Aug 2018 17:45:49 +0200 Subject: [PATCH] dnsdist: Remove leftover initialization of a uint16_t to NULL --- pdns/dnsdist.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index e4c0cd2c9..c99986887 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -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; -- 2.40.0