mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
remove apparently gratuitous second call to srandom
This commit is contained in:
parent
dd38543398
commit
57cd547078
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue