summaryrefslogtreecommitdiffstats
path: root/libhb/ports.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/ports.c')
-rw-r--r--libhb/ports.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libhb/ports.c b/libhb/ports.c
index bd3564be3..6ccbaede3 100644
--- a/libhb/ports.c
+++ b/libhb/ports.c
@@ -611,9 +611,7 @@ void hb_cond_wait( hb_cond_t * c, hb_lock_t * lock )
void hb_clock_gettime( struct timespec *tp )
{
struct timeval tv;
- time_t sec;
- sec = time( NULL );
gettimeofday( &tv, NULL );
tp->tv_sec = tv.tv_sec;
tp->tv_nsec = tv.tv_usec * 1000;