renmove srand calls - eina ensures it does that now

This commit is contained in:
Carsten Haitzler 2020-10-03 21:00:43 +01:00
parent 397a58137e
commit d084520660
2 changed files with 0 additions and 8 deletions

View File

@ -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++)
{

View File

@ -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();