diff --git a/src/bin/e_fm_op.c b/src/bin/e_fm_op.c index cfd10bf5e..043642ed2 100644 --- a/src/bin/e_fm_op.c +++ b/src/bin/e_fm_op.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++) { diff --git a/src/modules/shot/upload.c b/src/modules/shot/upload.c index 865a3df17..13550e0c6 100644 --- a/src/modules/shot/upload.c +++ b/src/modules/shot/upload.c @@ -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();