mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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
|
#else
|
||||||
git_libgit2_init();
|
git_libgit2_init();
|
||||||
#endif
|
#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();
|
setup_system_prefs();
|
||||||
copy_prefs(&default_prefs, &prefs);
|
copy_prefs(&default_prefs, &prefs);
|
||||||
fill_computer_list();
|
fill_computer_list();
|
||||||
|
|
Loading…
Add table
Reference in a new issue