Got rid of a superfluous call to gettimeofday().

This commit is contained in:
Wayne Davison
2004-05-24 22:59:16 +00:00
parent fa0c1939ed
commit edad5898f2

1
util.c
View File

@@ -1042,7 +1042,6 @@ int msleep(int t)
struct timeval tval, t1, t2;
gettimeofday(&t1, NULL);
gettimeofday(&t2, NULL);
while (tdiff < t) {
tval.tv_sec = (t-tdiff)/1000;