From 92913918852b0efae64672421554783af1ec3240 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Mon, 5 Jun 2006 16:59:10 +0000 Subject: 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) --- source3/lib/time.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source3') 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); -- cgit