[Groonga-commit] groonga/groonga [master] test: remove unused variables

Back to archive index

null+****@clear***** null+****@clear*****
Fri Aug 10 18:11:49 JST 2012


Kouhei Sutou	2012-08-10 18:11:49 +0900 (Fri, 10 Aug 2012)

  New Revision: 8c0d60d203cfa8b6895bc8d6d894980523932c6a
  https://github.com/groonga/groonga/commit/8c0d60d203cfa8b6895bc8d6d894980523932c6a

  Log:
    test: remove unused variables

  Modified files:
    test/unit/core/dat/test-trie.cpp

  Modified: test/unit/core/dat/test-trie.cpp (+0 -2)
===================================================================
--- test/unit/core/dat/test-trie.cpp    2012-08-10 18:11:15 +0900 (122c136)
+++ test/unit/core/dat/test-trie.cpp    2012-08-10 18:11:49 +0900 (cedc5a9)
@@ -487,7 +487,6 @@ namespace test_dat_trie
               stack.empty() ? (keyset.size() + 1) : stack.top();
           const std::pair<Keyset::iterator, bool> it_bool_pair =
               keyset.insert(std::make_pair(str, key_id));
-          const Keyset::const_iterator it = it_bool_pair.first;
           const bool to_be_inserted = it_bool_pair.second;
           if (!stack.empty() && to_be_inserted) {
             stack.pop();
@@ -622,7 +621,6 @@ namespace test_dat_trie
               stack.empty() ? (keyset.size() + 1) : stack.top();
           const std::pair<Keyset::iterator, bool> it_bool_pair =
               keyset.insert(std::make_pair(str, key_id));
-          const Keyset::const_iterator it = it_bool_pair.first;
           const bool to_be_inserted = it_bool_pair.second;
           if (!stack.empty() && to_be_inserted) {
             stack.pop();
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index