You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bb...@apache.org on 2021/04/29 14:40:31 UTC

[geode-native] branch develop updated: GEODE-9206: Remove unused static variable (#794)

This is an automated email from the ASF dual-hosted git repository.

bbender pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new 7867137  GEODE-9206: Remove unused static variable (#794)
7867137 is described below

commit 7867137fd52b64475b1f7e0c49c0eb5e4b10668b
Author: Mario Salazar de Torres <ma...@est.tech>
AuthorDate: Thu Apr 29 16:40:21 2021 +0200

    GEODE-9206: Remove unused static variable (#794)
    
    - EMPTY_STRING seems not to be used and it's defined 267 times because
       it's within a header file. So this commit removes this static var.
---
 cppcache/include/geode/internal/geode_base.hpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cppcache/include/geode/internal/geode_base.hpp b/cppcache/include/geode/internal/geode_base.hpp
index c253e2b..2f5f4e8 100644
--- a/cppcache/include/geode/internal/geode_base.hpp
+++ b/cppcache/include/geode/internal/geode_base.hpp
@@ -77,8 +77,6 @@ namespace client {
 constexpr static std::chrono::milliseconds DEFAULT_QUERY_RESPONSE_TIMEOUT =
     std::chrono::seconds{15};
 
-static const std::string EMPTY_STRING{};
-
 }  // namespace client
 }  // namespace geode
 }  // namespace apache