From 5c248d91cd5b7e9401e4393b2193ad44c32016bc Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 17 Feb 2018 21:21:16 +0100 Subject: 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 --- smtk-import/smartrak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smtk-import') 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; } -- cgit v1.2.3-70-g09d2