From fe4b2125a71b4569f2241e85aec0f4676f66343f Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Tue, 7 Sep 2021 17:09:03 +0200
Subject: [PATCH] Remove unused code

---
 include/caosdb/value.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/caosdb/value.h b/include/caosdb/value.h
index e6ca1f3..6031e75 100644
--- a/include/caosdb/value.h
+++ b/include/caosdb/value.h
@@ -63,11 +63,9 @@ public:
     return (this->wrapped->scalar_value_case() == ScalarValueCase::kStringValue) ||
            (this->wrapped->scalar_value_case() == ScalarValueCase::kSpecialValue &&
             this->wrapped->special_value() == ProtoSpecialValue::SPECIAL_VALUE_EMPTY_STRING);
-    return false;
   }
   [[nodiscard]] inline auto AsString() const noexcept -> const std::string & {
     return this->wrapped->string_value();
-    ;
   }
 
   [[nodiscard]] inline auto IsDouble() const noexcept -> bool {
-- 
GitLab