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
|
||||
( JNIEnv* env, jclass C )
|
||||
{
|
||||
struct timeval tv;
|
||||
gettimeofday( &tv, NULL );
|
||||
srandom( tv.tv_sec );
|
||||
/* Why am I doing this twice? */
|
||||
/* struct timeval tv; */
|
||||
/* gettimeofday( &tv, NULL ); */
|
||||
/* srandom( tv.tv_sec ); */
|
||||
#ifdef MEM_DEBUG
|
||||
MemPoolCtx* mpool = mpool_make();
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue