summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_debug.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-08-07 11:23:15 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-08-08 15:55:12 +0200
commit8e9ce489a95dc5a99a8f7c24214daab1a9aa3737 (patch)
tree413632230322181847a7df0ad58bc8717245ca22 /crawl-ref/source/l_debug.cc
parent1401ecdd7c55daa75c9b869111823c394642c1a7 (diff)
downloadcrawl-ref-8e9ce489a95dc5a99a8f7c24214daab1a9aa3737.tar.gz
crawl-ref-8e9ce489a95dc5a99a8f7c24214daab1a9aa3737.zip
Drop a bunch of parentheses from return statements.
This is incomplete, partially because of me getting bored, partially because of doubts about the point of leaving simple addition/etc in parentheses.
Diffstat (limited to 'crawl-ref/source/l_debug.cc')
-rw-r--r--crawl-ref/source/l_debug.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/l_debug.cc b/crawl-ref/source/l_debug.cc
index 657d23d756..8ed586c1d5 100644
--- a/crawl-ref/source/l_debug.cc
+++ b/crawl-ref/source/l_debug.cc
@@ -221,14 +221,14 @@ LUAFN(debug_god_wrath)
if (!god_name)
{
std::string err = "god_wrath requires a god!";
- return (luaL_argerror(ls, 1, err.c_str()));
+ return luaL_argerror(ls, 1, err.c_str());
}
god_type god = strcmp(god_name, "random") ? str_to_god(god_name) : GOD_RANDOM;
if (god == GOD_NO_GOD)
{
std::string err = make_stringf("'%s' matches no god.", god_name);
- return (luaL_argerror(ls, 1, err.c_str()));
+ return luaL_argerror(ls, 1, err.c_str());
}
bool no_bonus = lua_toboolean(ls, 2);