summaryrefslogtreecommitdiffstats
path: root/core/parse.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-02-17 21:21:16 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-02-17 19:38:52 -0800
commit5c248d91cd5b7e9401e4393b2193ad44c32016bc (patch)
tree6ecf145a0ee951e8c1dd94de075e9d854da32aae /core/parse.c
parent36b8594ccea5f72fc24041eae6a0dc69a9b5bc51 (diff)
downloadsubsurface-5c248d91cd5b7e9401e4393b2193ad44c32016bc.tar.gz
Coding-style: remove superfluous parentheses
Mostly replace "return (expression);" by "return expression;" and one case of "function((parameter))" by "function(parameter)". Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/parse.c')
-rw-r--r--core/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/parse.c b/core/parse.c
index 69c064051..d83d8e331 100644
--- a/core/parse.c
+++ b/core/parse.c
@@ -187,8 +187,8 @@ void event_end(void)
*/
bool is_dive(void)
{
- return (cur_dive &&
- (cur_dive->dive_site_uuid || cur_dive->when || cur_dive->dc.samples));
+ return cur_dive &&
+ (cur_dive->dive_site_uuid || cur_dive->when || cur_dive->dc.samples);
}
void reset_dc_info(struct divecomputer *dc)