From b2819139121d302ea1c86eac1c5dbc22f1f70b22 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 21 Jul 2016 16:16:01 +0800 Subject: use g_assert instead of assert --- src/PYLibPinyin.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/PYLibPinyin.cc') diff --git a/src/PYLibPinyin.cc b/src/PYLibPinyin.cc index 0739bea..179a454 100644 --- a/src/PYLibPinyin.cc +++ b/src/PYLibPinyin.cc @@ -21,7 +21,6 @@ #include "PYLibPinyin.h" -#include #include #include #include "PYPConfig.h" @@ -316,7 +315,7 @@ LibPinyinBackEnd::rememberUserInput (pinyin_instance_t * instance) remember user input. */ gchar * sentence = NULL; pinyin_get_sentence (instance, &sentence); - assert (pinyin_remember_user_input (instance, sentence, -1)); + pinyin_remember_user_input (instance, sentence, -1); g_free (sentence); /* save later, will mark modified from pinyin/bopomofo editor. */ -- cgit