From: Pieter Lexis Date: Tue, 12 Jan 2016 15:49:45 +0000 (+0100) Subject: Remove dead code (thanks @zeha) X-Git-Tag: dnsdist-1.0.0-alpha2~44^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f81c5cb335ebc45ba9ff2d70eb1aaa12f323fe6e;p=thirdparty%2Fpdns.git Remove dead code (thanks @zeha) --- diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 9920f51603..a749379a62 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -364,13 +364,6 @@ void *TCPNameserver::doConnection(void *data) sendPacket(reply, fd); } } - catch(DBException &e) { - Lock l(&s_plock); - delete s_P; - s_P = 0; - - L<