Commit 99376cec authored by deuce's avatar deuce
Browse files

#ifdef out dead code to make Coverity happy.

parent 9ffa346d
......@@ -289,7 +289,7 @@ void DLLCALL xp_randomize(void)
#if defined(HAS_SRANDOMDEV_FUNC) && defined(HAS_RANDOM_FUNC)
srandomdev();
return;
#endif
#else
#if defined(HAS_DEV_URANDOM) && defined(URANDOM_DEV)
if((rf=open(URANDOM_DEV, O_RDONLY))!=-1) {
......@@ -316,6 +316,7 @@ void DLLCALL xp_randomize(void)
#else
srand(seed);
#endif
#endif
}
/****************************************************************************/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment