From 607a7ec4e9c67155d931fa66f5d13cb04d986f20 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 1 Jul 2010 10:36:39 +0800 Subject: remove some warnings. --- lua/lua-plugin-init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/lua-plugin-init.c b/lua/lua-plugin-init.c index 238e33c..91fe85f 100644 --- a/lua/lua-plugin-init.c +++ b/lua/lua-plugin-init.c @@ -216,7 +216,8 @@ static int ime_register_trigger(lua_State * L){ fprintf(stderr, "TODO: ime_register_trigger unimplemented when called with %s (%s).\n", lua_function_name, description); luaL_checktype(L, 3, LUA_TTABLE); - fprintf(stderr, "TODO: register_trigger with input_trigger_strings:\n"); + + /* TODO: register_trigger with input_trigger_strings. */ num = lua_objlen(L, 3); for ( i = 0; i < num; ++i) { lua_pushinteger(L, i + 1); @@ -227,7 +228,8 @@ static int ime_register_trigger(lua_State * L){ fprintf(stderr, "\n"); luaL_checktype(L, 4, LUA_TTABLE); - fprintf(stderr, "TODO: register_trigger with candidate_trigger_strings:\n"); + + /* TODO: register_trigger with candidate_trigger_strings. */ num = lua_objlen(L, 4); for ( i = 0; i < num; ++i) { lua_pushinteger(L, i + 1); -- cgit