We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
bugprone-random-generator-seed
1 parent 2506d18 commit 55b418aCopy full SHA for 55b418a
1 file changed
tools/triage/mainwindow.cpp
@@ -77,6 +77,7 @@ MainWindow::MainWindow(QWidget *parent) :
77
srcFiles{"*.cpp", "*.cxx", "*.cc", "*.c++", "*.C", "*.c", "*.cl"}
78
{
79
ui->setupUi(this);
80
+ // NOLINTNEXTLINE(bugprone-random-generator-seed) - the random numbers are not used in a security context so this should be sufficient
81
std::srand(static_cast<unsigned int>(std::time(nullptr)));
82
QDir workFolder(WORK_FOLDER);
83
if (!workFolder.exists()) {
0 commit comments