From d5f89967f0f559f6c4b96af9d0fbe42ba346266c Mon Sep 17 00:00:00 2001 From: Jon Jove Date: Tue, 5 Mar 2019 15:01:53 -0600 Subject: [PATCH] Warning police --- src/scp/SCPUnitTests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scp/SCPUnitTests.cpp b/src/scp/SCPUnitTests.cpp index e851e99c00..6abb765f8f 100644 --- a/src/scp/SCPUnitTests.cpp +++ b/src/scp/SCPUnitTests.cpp @@ -120,7 +120,8 @@ class TestNominationSCP : public SCPDriver Value const& getLatestCompositeCandidate(uint64 slotIndex) { - return {}; + static Value const emptyValue{}; + return emptyValue; } };