renmove srand calls - eina ensures it does that now

devs/bu5hm4n/mixerfun
Carsten Haitzler 3 years ago
parent 397a58137e
commit d084520660
  1. 7
      src/bin/e_fm_op.c
  2. 1
      src/modules/shot/upload.c

@ -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…
Cancel
Save