renmove srand calls - eina ensures it does that now
This commit is contained in:
parent
397a58137e
commit
d084520660
|
@ -1849,13 +1849,6 @@ static void
|
|||
_e_fm_op_random_char(char *buf, size_t len)
|
||||
{
|
||||
size_t i;
|
||||
static int sranded = 0;
|
||||
|
||||
if (!sranded)
|
||||
{
|
||||
srand((unsigned int)time(NULL));
|
||||
sranded = 1;
|
||||
}
|
||||
|
||||
for (i = 0; i < len; i++)
|
||||
{
|
||||
|
|
|
@ -60,7 +60,6 @@ find_tmpfile(int quality, char *buf, size_t buf_size)
|
|||
|
||||
// come up with a tmp file - not really that critical as its due for
|
||||
// sharing to the internet as a whole
|
||||
srand(time(NULL));
|
||||
for (i = 0; i < 100; i++)
|
||||
{
|
||||
int fd, v = rand();
|
||||
|
|
Loading…
Reference in New Issue