Skip to content

Commit 55b418a

Browse files
committed
triage/mainwindows.cpp: mitigated bugprone-random-generator-seed clang-tidy warning
1 parent 2506d18 commit 55b418a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/triage/mainwindow.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ MainWindow::MainWindow(QWidget *parent) :
7777
srcFiles{"*.cpp", "*.cxx", "*.cc", "*.c++", "*.C", "*.c", "*.cl"}
7878
{
7979
ui->setupUi(this);
80+
// NOLINTNEXTLINE(bugprone-random-generator-seed) - the random numbers are not used in a security context so this should be sufficient
8081
std::srand(static_cast<unsigned int>(std::time(nullptr)));
8182
QDir workFolder(WORK_FOLDER);
8283
if (!workFolder.exists()) {

0 commit comments

Comments
 (0)