summaryrefslogtreecommitdiffstats
path: root/document/src/tests
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-01-20 16:59:01 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-01-20 17:06:27 +0000
commit9a43c6a6228ead44bd6a5ad27a578adc53a207ab (patch)
treedc225a37a194ea7244cdc7eb4fd5082a7a3bb0a7 /document/src/tests
parentcc1be38ff2d4328dd6a0ca0e633b7ecafeee30c6 (diff)
GC unused constructor
Diffstat (limited to 'document/src/tests')
-rw-r--r--document/src/tests/documentupdatetestcase.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/document/src/tests/documentupdatetestcase.cpp b/document/src/tests/documentupdatetestcase.cpp
index a1ce861855c..5fab79efce8 100644
--- a/document/src/tests/documentupdatetestcase.cpp
+++ b/document/src/tests/documentupdatetestcase.cpp
@@ -95,7 +95,6 @@ readBufferFromFile(const vespalib::string &fileName)
{
auto file = std::fstream(fileName, std::ios::in | std::ios::binary | std::ios::ate);
auto size = file.tellg();
- auto result = std::make_unique<ByteBuffer>(size);
file.seekg(0);
vespalib::alloc::Alloc buf = vespalib::alloc::Alloc::alloc(size);
file.read(static_cast<char *>(buf.get()), size);