aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/tests/dictionary/utils/trie_map_test.cpp
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2017-10-30 19:45:38 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-30 19:45:38 +0000
commit4424dbc80bcc7f0dec557fff8d7be262b15839c5 (patch)
treeb6f294933f3eb20cbdc3fe1ff244e0603ef4d6ae /native/jni/tests/dictionary/utils/trie_map_test.cpp
parentffa65d4823c34a51f3cf8490daba1c63fb09ea47 (diff)
parent707fd5c3d2eeec890d8d5859d2ce6325493ab754 (diff)
downloadlatinime-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.cpp1
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));