diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 12:14:09 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 12:14:09 +0200 |
commit | c41419c4f47bbf0737d3fedf58128c835d2c4e3b (patch) | |
tree | 764ae18c107df39fd90af718922036bd245561ca /crawl-ref/source/cluautil.cc | |
parent | b80adef8882143cad34f3c8bcc9a8ccbd4440223 (diff) | |
download | crawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.tar.gz crawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.zip |
Drop parentheses around scalar values in "return".
Diffstat (limited to 'crawl-ref/source/cluautil.cc')
-rw-r--r-- | crawl-ref/source/cluautil.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/cluautil.cc b/crawl-ref/source/cluautil.cc index e5c7819003..e86e264437 100644 --- a/crawl-ref/source/cluautil.cc +++ b/crawl-ref/source/cluautil.cc @@ -94,7 +94,7 @@ void clua_register_metatable(lua_State *ls, const char *tn, int clua_pushcxxstring(lua_State *ls, const std::string &s) { lua_pushstring(ls, s.c_str()); - return (1); + return 1; } int clua_stringtable(lua_State *ls, const std::vector<std::string> &s) @@ -112,5 +112,5 @@ int clua_pushpoint(lua_State *ls, const coord_def &pos) if (!vm.callfn("dgn.point", 2, 1)) luaL_error(ls, "dgn.point(%d,%d) failed: %s", pos.x, pos.y, vm.error.c_str()); - return (1); + return 1; } |