mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
bbb55b2973
commit
10695e51ee
1 changed files with 0 additions and 7 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue