cleanup: remove unnecessary call to qsrand

We actually don't use random numbers anywhere outside TestGitStorage.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-10-26 10:47:57 -07:00
parent bbb55b2973
commit 10695e51ee

View file

@ -79,13 +79,6 @@ int main(int argc, char **argv)
#else
git_libgit2_init();
#endif
/*
* Initialize the random number generator - not really secure as
* this is based only on current time, but it should not matter
* that much in our context. Moreover this is better than
* the constant numbers we used to get before.
*/
qsrand(time(NULL));
setup_system_prefs();
copy_prefs(&default_prefs, &prefs);
fill_computer_list();