diff options
author | ZyX <kp-pav@yandex.ru> | 2016-07-10 21:49:59 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-03-27 00:11:25 +0300 |
commit | a4dc8de0739d8e9e910d786a9b6fbfbc162aee9c (patch) | |
tree | 9730d28e3869d88d27c891b80d4f128fda994243 /src/nvim/viml/executor/executor.c | |
parent | f551df17f33e7f38b7e5693eb923118ca1542d27 (diff) | |
download | rneovim-a4dc8de0739d8e9e910d786a9b6fbfbc162aee9c.tar.gz rneovim-a4dc8de0739d8e9e910d786a9b6fbfbc162aee9c.tar.bz2 rneovim-a4dc8de0739d8e9e910d786a9b6fbfbc162aee9c.zip |
*: Silence linter
Diffstat (limited to 'src/nvim/viml/executor/executor.c')
-rw-r--r-- | src/nvim/viml/executor/executor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/viml/executor/executor.c b/src/nvim/viml/executor/executor.c index a9d05bcd31..1a7b5f8915 100644 --- a/src/nvim/viml/executor/executor.c +++ b/src/nvim/viml/executor/executor.c @@ -104,7 +104,7 @@ static int nlua_stricmp(lua_State *lstate) FUNC_ATTR_NONNULL_ALL const char *s2 = luaL_checklstring(lstate, 2, NULL); const int ret = STRICMP(s1, s2); lua_pop(lstate, 2); - lua_pushnumber(lstate, (lua_Number) ((ret > 0) - (ret < 0))); + lua_pushnumber(lstate, (lua_Number)((ret > 0) - (ret < 0))); return 1; } @@ -140,7 +140,7 @@ static int nlua_state_init(lua_State *lstate) FUNC_ATTR_NONNULL_ALL { lua_pushcfunction(lstate, &nlua_stricmp); lua_setglobal(lstate, "stricmp"); - if (luaL_dostring(lstate, (char *) &vim_module[0])) { + if (luaL_dostring(lstate, (char *)&vim_module[0])) { nlua_error(lstate, _("E5106: Error while creating vim module: %s")); return 1; } |