From 4f109c0220a6a2b488e786a44847a955c42d98d7 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Fri, 7 Oct 2016 02:41:13 +0200 Subject: [PATCH] pipebackend: fix var shadowing --- modules/pipebackend/pipebackend.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/pipebackend/pipebackend.cc b/modules/pipebackend/pipebackend.cc index 98ec55297e..03e2a6c918 100644 --- a/modules/pipebackend/pipebackend.cc +++ b/modules/pipebackend/pipebackend.cc @@ -223,9 +223,7 @@ bool PipeBackend::list(const DNSName& target, int inZoneId, bool include_disable string PipeBackend::directBackendCmd(const string &query) { if (d_abiVersion < 5) - return "not supported on ABI version " + std::to_string(d_abiVersion) + "(use ABI version 5 or later)\n"; - - ostringstream oss; + return "not supported on ABI version " + std::to_string(d_abiVersion) + " (use ABI version 5 or later)\n"; try { launch(); @@ -237,8 +235,8 @@ string PipeBackend::directBackendCmd(const string &query) { L<receive(line); -- 2.47.2