diff options
Diffstat (limited to 'src/storage/pinyin_large_table.cpp')
-rw-r--r-- | src/storage/pinyin_large_table.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage/pinyin_large_table.cpp b/src/storage/pinyin_large_table.cpp index f92f883..0a1a8db 100644 --- a/src/storage/pinyin_large_table.cpp +++ b/src/storage/pinyin_large_table.cpp @@ -628,7 +628,8 @@ bool PinyinLengthIndexLevel::load(MemoryChunk * chunk, table_offset_t offset, ta index++; phrase_end = *index; if ( phrase_begin == phrase_end ){ - g_array_append_val(m_pinyin_array_indexes, null_token); + void * null = NULL; + g_array_append_val(m_pinyin_array_indexes, null); continue; } |