Task #819 - fixed.err
back to task #819download
Error: CLANG_WARNING: libplasma-6.0.3-build/libplasma-6.0.3/src/plasma/private/timetracker.cpp:46:14: warning[deadcode.DeadStores]: Value stored to 'b' during its initialization is never read # 44| # 45| QFile f(QStringLiteral("/tmp/debug-") + QString::fromUtf8(qgetenv("USER")) + QStringLiteral(".json")); # 46|-> bool b = f.open(QFile::WriteOnly); # 47| Q_ASSERT(b); # 48| f.write(doc.toJson()); Error: COMPILER_WARNING (CWE-563): libplasma-6.0.3-build/libplasma-6.0.3/src/plasma/private/timetracker.cpp: scope_hint: In constructor ‘Plasma::TimeTracker::TimeTracker(QObject*)’ libplasma-6.0.3-build/libplasma-6.0.3/src/plasma/private/timetracker.cpp:75:18: warning[-Wunused-value]: value computed is not used # 75 | *s_beginning * 1; // ensure it's initialized # | ~~~~~~~~~~~~~^~~ # 73| : QObject(o) # 74| { # 75|-> *s_beginning * 1; // ensure it's initialized # 76| # 77| QTimer *t = new QTimer(this);