From 0fd4fed53756f23794449413467c83dce7e1c143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Thu, 11 Apr 2019 00:46:03 -0400 Subject: [PATCH] search: add fallback return --- src/search.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/search.h b/src/search.h index f292e5e6..1bfe6109 100644 --- a/src/search.h +++ b/src/search.h @@ -545,6 +545,7 @@ struct Dht::Search { if (a.value->id == vid) return a.value; } + return {}; } bool cancelPut(Value::Id vid) { -- GitLab