]> granicus.if.org Git - pdns/commitdiff
slavecommunicator: remove dead variable
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Tue, 9 Jan 2018 19:17:38 +0000 (20:17 +0100)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Tue, 9 Jan 2018 19:17:38 +0000 (20:17 +0100)
pdns/slavecommunicator.cc

index 19ed09cda073be045b936c088ced2f3685a82669..7cf44187551017a58cd1a5187637462eb4c633d8 100644 (file)
@@ -661,7 +661,6 @@ struct SlaveSenderReceiver
   {
     random_shuffle(dni.di.masters.begin(), dni.di.masters.end());
     try {
-      ComboAddress remote(*dni.di.masters.begin());
       return make_pair(dni.di.zone,
         d_resolver.sendResolve(ComboAddress(*dni.di.masters.begin(), 53), dni.localaddr,
           dni.di.zone,