summaryrefslogtreecommitdiffstats
path: root/source3/lib/time.c
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2006-06-05 16:59:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:18 -0500
commit92913918852b0efae64672421554783af1ec3240 (patch)
tree45750b437c57983252e45040c5bfa3b9c25253ab /source3/lib/time.c
parentfbd296f2f65d073af6f1c89a51dadabd172a5984 (diff)
downloadsamba-92913918852b0efae64672421554783af1ec3240.tar.gz
samba-92913918852b0efae64672421554783af1ec3240.tar.xz
samba-92913918852b0efae64672421554783af1ec3240.zip
r16047: Remove unnecessary line, as this value is set in either branch of the
'if' below. Spotted by Aleksey Fedoseev. (This used to be commit 00eb42791abf3e34dc42a2067f07b8549ea31abb)
Diffstat (limited to 'source3/lib/time.c')
-rw-r--r--source3/lib/time.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index 749af37cae..f8a1538910 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -153,7 +153,6 @@ void get_process_uptime(struct timeval *ret_time)
GetTimeOfDay(&time_now_hires);
ret_time->tv_sec = time_now_hires.tv_sec - start_time_hires.tv_sec;
- ret_time->tv_usec = time_now_hires.tv_usec - start_time_hires.tv_usec;
if (time_now_hires.tv_usec < start_time_hires.tv_usec) {
ret_time->tv_sec -= 1;
ret_time->tv_usec = 1000000 + (time_now_hires.tv_usec - start_time_hires.tv_usec);