From f81c5cb335ebc45ba9ff2d70eb1aaa12f323fe6e Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Tue, 12 Jan 2016 16:49:45 +0100 Subject: [PATCH] Remove dead code (thanks @zeha) --- pdns/tcpreceiver.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 9920f5160..a749379a6 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<