diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-02-17 21:21:16 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-02-17 19:38:52 -0800 |
commit | 5c248d91cd5b7e9401e4393b2193ad44c32016bc (patch) | |
tree | 6ecf145a0ee951e8c1dd94de075e9d854da32aae /smtk-import/smartrak.c | |
parent | 36b8594ccea5f72fc24041eae6a0dc69a9b5bc51 (diff) | |
download | subsurface-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 'smtk-import/smartrak.c')
-rw-r--r-- | smtk-import/smartrak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smtk-import/smartrak.c b/smtk-import/smartrak.c index 227b07592..96b07a958 100644 --- a/smtk-import/smartrak.c +++ b/smtk-import/smartrak.c @@ -145,7 +145,7 @@ static unsigned int smtk_time_to_secs(char *t_buffer) if (!empty_string(t_buffer)) { n = sscanf(t_buffer, "%*[0-9/] %d:%d:%d ", &hr, &min, &sec); - return((n == 3) ? (((hr*60)+min)*60)+sec : 0); + return (n == 3) ? (((hr*60)+min)*60)+sec : 0; } else { return 0; } |