mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
36b8594cce
commit
5c248d91cd
20 changed files with 30 additions and 30 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue