summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/macro.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 12:36:13 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 13:03:13 +0200
commit9042de61fb4f05a9da01d470ef325d6c6381dd28 (patch)
tree9801b1dfd90fd296dbfe8a4f20f269913bf5550c /crawl-ref/source/macro.cc
parent53671ccab2db8416aa16b9df6ba799e0cfaa78dd (diff)
downloadcrawl-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/macro.cc')
-rw-r--r--crawl-ref/source/macro.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/macro.cc b/crawl-ref/source/macro.cc
index eeeb330d77..5c16827d7e 100644
--- a/crawl-ref/source/macro.cc
+++ b/crawl-ref/source/macro.cc
@@ -749,7 +749,7 @@ int getchm(KeymapContext mc, int (*rgetch)())
else
macro_buf_add_long(keys, Keymaps[mc]);
- return (macro_buf_get());
+ return macro_buf_get();
}
/*
@@ -771,7 +771,7 @@ int getch_with_command_macros()
// Apply longest matching macro at front of buffer:
macro_buf_apply_command_macro();
- return (macro_buf_get());
+ return macro_buf_get();
}
/*