diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-10-26 10:47:57 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-26 19:27:03 -0700 |
commit | 10695e51ee379383baa5befac5f54edf13f3412e (patch) | |
tree | 6c5da13fa1441ba7791286edd0fbff97f1d685a5 | |
parent | bbb55b29737f1a818e50de646ff8acadf7190c76 (diff) | |
download | subsurface-10695e51ee379383baa5befac5f54edf13f3412e.tar.gz |
cleanup: remove unnecessary call to qsrand
We actually don't use random numbers anywhere outside TestGitStorage.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-desktop-main.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/subsurface-desktop-main.cpp b/subsurface-desktop-main.cpp index be5b7b7fe..25891e3c0 100644 --- a/subsurface-desktop-main.cpp +++ b/subsurface-desktop-main.cpp @@ -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(); |