remove apparently gratuitous second call to srandom

This commit is contained in:
Eric House 2014-01-31 07:54:43 -08:00
parent dd38543398
commit 57cd547078

View file

@ -424,9 +424,10 @@ JNIEXPORT jint JNICALL
Java_org_eehouse_android_xw4_jni_XwJNI_initJNI Java_org_eehouse_android_xw4_jni_XwJNI_initJNI
( JNIEnv* env, jclass C ) ( JNIEnv* env, jclass C )
{ {
struct timeval tv; /* Why am I doing this twice? */
gettimeofday( &tv, NULL ); /* struct timeval tv; */
srandom( tv.tv_sec ); /* gettimeofday( &tv, NULL ); */
/* srandom( tv.tv_sec ); */
#ifdef MEM_DEBUG #ifdef MEM_DEBUG
MemPoolCtx* mpool = mpool_make(); MemPoolCtx* mpool = mpool_make();
#endif #endif