Prevent unused variable errors in case CLOCK_REALTIME is not defined.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36065 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a06cec2fdf
commit
72d74075da
@ -128,6 +128,8 @@ void *f1(void *parm)
|
||||
currsec1.tv_sec = ts.tv_sec;
|
||||
currsec1.tv_usec = ts.tv_nsec / 1000;
|
||||
#else
|
||||
(void)ts;
|
||||
(void)rc;
|
||||
gettimeofday(&currsec1, NULL);
|
||||
#endif
|
||||
/* Absolute time, not relative. */
|
||||
|
@ -63,6 +63,7 @@ static void* fn_rd(void *arg)
|
||||
currsec1.tv_sec = ts.tv_sec;
|
||||
currsec1.tv_usec = ts.tv_nsec / 1000;
|
||||
#else
|
||||
(void)ts;
|
||||
gettimeofday(&currsec1, NULL);
|
||||
#endif
|
||||
/* Absolute time, not relative. */
|
||||
|
@ -69,6 +69,7 @@ static void* fn_wr(void *arg)
|
||||
currsec1.tv_sec = ts.tv_sec;
|
||||
currsec1.tv_usec = ts.tv_nsec / 1000;
|
||||
#else
|
||||
(void)ts;
|
||||
gettimeofday(&currsec1, NULL);
|
||||
#endif
|
||||
/* Absolute time, not relative. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user