diff options
author | 2017-10-30 19:45:38 +0000 | |
---|---|---|
committer | 2017-10-30 19:45:38 +0000 | |
commit | 4424dbc80bcc7f0dec557fff8d7be262b15839c5 (patch) | |
tree | b6f294933f3eb20cbdc3fe1ff244e0603ef4d6ae /native/jni/tests/dictionary/utils/trie_map_test.cpp | |
parent | ffa65d4823c34a51f3cf8490daba1c63fb09ea47 (diff) | |
parent | 707fd5c3d2eeec890d8d5859d2ce6325493ab754 (diff) | |
download | latinime-4424dbc80bcc7f0dec557fff8d7be262b15839c5.tar.gz latinime-4424dbc80bcc7f0dec557fff8d7be262b15839c5.tar.xz latinime-4424dbc80bcc7f0dec557fff8d7be262b15839c5.zip |
Merge "Use -Werror in packages/inputmethods/LatinIME/native/jni" am: f3681fed6d
am: 707fd5c3d2
Change-Id: Ie6eb2d7f07c5cc734fe442315ecf57d68512180d
Diffstat (limited to 'native/jni/tests/dictionary/utils/trie_map_test.cpp')
-rw-r--r-- | native/jni/tests/dictionary/utils/trie_map_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/native/jni/tests/dictionary/utils/trie_map_test.cpp b/native/jni/tests/dictionary/utils/trie_map_test.cpp index 745d39897..8f3ec9d24 100644 --- a/native/jni/tests/dictionary/utils/trie_map_test.cpp +++ b/native/jni/tests/dictionary/utils/trie_map_test.cpp @@ -55,6 +55,7 @@ TEST(TrieMapTest, TestRemove) { EXPECT_TRUE(trieMap.remove(10, trieMap.getRootBitmapEntryIndex())); EXPECT_FALSE(trieMap.getRoot(10).mIsValid); for (const auto &element : trieMap.getEntriesInRootLevel()) { + (void)element; // not used EXPECT_TRUE(false); } EXPECT_TRUE(trieMap.putRoot(10, 0x3FFFFF)); |