[Groonga-commit] groonga/groonga [master] removed an unnecessary pair of kakko and kokka.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 12月 26日 (月) 18:41:41 JST


Susumu Yata	2011-12-26 18:41:41 +0900 (Mon, 26 Dec 2011)

  New Revision: 85d06b520e6221ec6f2eb9623757c040b3a400aa

  Log:
    removed an unnecessary pair of kakko and kokka.

  Modified files:
    lib/dat/trie.hpp

  Modified: lib/dat/trie.hpp (+1 -1)
===================================================================
--- lib/dat/trie.hpp    2011-12-26 16:52:27 +0900 (b93b4df)
+++ lib/dat/trie.hpp    2011-12-26 18:41:41 +0900 (f20fd0f)
@@ -62,7 +62,7 @@ class Trie {
   // INVALID_KEY_ID.
   const Key &ith_key(UInt32 key_id) const {
     if ((key_id >= min_key_id()) && (key_id <= max_key_id()) &&
-        (ith_entry(key_id).is_valid())) {
+        ith_entry(key_id).is_valid()) {
       return get_key(ith_entry(key_id).key_pos());
     }
     return Key::invalid_key();




Groonga-commit メーリングリストの案内
Back to archive index