diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 12:36:13 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 13:03:13 +0200 |
commit | 9042de61fb4f05a9da01d470ef325d6c6381dd28 (patch) | |
tree | 9801b1dfd90fd296dbfe8a4f20f269913bf5550c /crawl-ref/source/dlua.cc | |
parent | 53671ccab2db8416aa16b9df6ba799e0cfaa78dd (diff) | |
download | crawl-ref-9042de61fb4f05a9da01d470ef325d6c6381dd28.tar.gz crawl-ref-9042de61fb4f05a9da01d470ef325d6c6381dd28.zip |
Remove parentheses around return (simple_function_call).
For way too paranoid and underinclusive values of "simple".
Diffstat (limited to 'crawl-ref/source/dlua.cc')
-rw-r--r-- | crawl-ref/source/dlua.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dlua.cc b/crawl-ref/source/dlua.cc index 961203ad4c..35cf25da2f 100644 --- a/crawl-ref/source/dlua.cc +++ b/crawl-ref/source/dlua.cc @@ -179,7 +179,7 @@ int dlua_chunk::run(CLua &interp) if (err) return err; // callfn returns true on success, but we want to return 0 on success. - return (check_op(interp, !interp.callfn(NULL, 0, 0))); + return check_op(interp, !interp.callfn(NULL, 0, 0)); } int dlua_chunk::load_call(CLua &interp, const char *fn) |