mirror of https://gitee.com/bigwinds/arangodb
result is no longer used
This commit is contained in:
parent
801cc84ce2
commit
4c09448d28
|
@ -66,9 +66,8 @@ static unsigned long SeedRandom (void) {
|
|||
|
||||
#ifdef TRI_HAVE_GETTIMEOFDAY
|
||||
struct timeval tv;
|
||||
int result;
|
||||
|
||||
result = gettimeofday(&tv, 0);
|
||||
/* ignore result */ gettimeofday(&tv, 0);
|
||||
|
||||
seed = (unsigned long)(tv.tv_sec);
|
||||
seed ^= (unsigned long)(tv.tv_usec);
|
||||
|
|
Loading…
Reference in New Issue