summaryrefslogtreecommitdiffstats
path: root/osdep/timer-linux.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-16 09:42:28 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-16 09:42:28 +0000
commit5423c418c257bca03b44db285797b0a82fb72f84 (patch)
treecc3a9217349d405012e929ed929284347ce77664 /osdep/timer-linux.c
parentc4f6f66f9e9dc486b5c2f189866050e41144d296 (diff)
downloadmpv-5423c418c257bca03b44db285797b0a82fb72f84.tar.bz2
mpv-5423c418c257bca03b44db285797b0a82fb72f84.tar.xz
cosmetics: Remove useless parentheses from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26791 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep/timer-linux.c')
-rw-r--r--osdep/timer-linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/timer-linux.c b/osdep/timer-linux.c
index 579c284019..cab110927a 100644
--- a/osdep/timer-linux.c
+++ b/osdep/timer-linux.c
@@ -34,7 +34,7 @@ unsigned int GetTimer(void){
// float s;
gettimeofday(&tv,NULL);
// s=tv.tv_usec;s*=0.000001;s+=tv.tv_sec;
- return (tv.tv_sec*1000000+tv.tv_usec);
+ return tv.tv_sec * 1000000 + tv.tv_usec;
}
// Returns current time in milliseconds
@@ -43,7 +43,7 @@ unsigned int GetTimerMS(void){
// float s;
gettimeofday(&tv,NULL);
// s=tv.tv_usec;s*=0.000001;s+=tv.tv_sec;
- return (tv.tv_sec*1000+tv.tv_usec/1000);
+ return tv.tv_sec * 1000 + tv.tv_usec / 1000;
}
static unsigned int RelativeTime=0;