Task #1193 - qt5-qtsvg-5.15.14-1.fc41/scan-results.err
back to task #1193download
Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/examples/svg/embedded/fluidlauncher/pictureflow.cpp:763:7: warning[deadcode.DeadStores]: Value stored to 'alpha' is never read # 761| c1 = rs.left(); # 762| # 763|-> alpha = (step > 0) ? 256-fade/2 : 256; # 764| } # 765| for(int index = 0; index < nright; index++) Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/examples/svg/embedded/fluidlauncher/pictureflow.cpp:1314:7: warning[deadcode.DeadStores]: Value stored to 'incr' is never read # 1312| # 1313| if (incr > d->pixelsToMovePerSlide*2) { # 1314|-> incr = d->pixelsToMovePerSlide*2; # 1315| //qDebug() << "Limiting incr to " << incr; # 1316| } Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/examples/svg/embedded/weatherinfo/weatherinfo.cpp:361:25: warning[cplusplus.NewDelete]: Use of memory after it is freed # 359| // save data if new day starts # 360| if (period == "0") { # 361|-> saveDayItem(dayItem, lowT, highT, symbol); # 362| createNewDay(xml); # 363| saved = true; Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/src/svg/qsvghandler.cpp:124:40: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value # 122| static inline int qsvg_hex2int(const char *s, bool *ok = nullptr) # 123| { # 124|-> return (qsvg_h2i(s[0], ok) * 16) | qsvg_h2i(s[1], ok); # 125| } # 126| Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/src/svg/qsvghandler.cpp:155:13: warning[core.CallAndMessage]: 1st function call argument is an uninitialized value # 153| } else if (len == 3) { # 154| r = qsvg_hex2int(name[0], &ok); # 155|-> g = qsvg_hex2int(name[1], &ok); # 156| b = qsvg_hex2int(name[2], &ok); # 157| } else { Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/src/svg/qsvghandler.cpp:741:27: warning[core.NullDereference]: Array access (from variable 'pattern') results in a null pointer dereference # 739| *str == QLatin1Char('.')) { # 740| # 741|-> if (patternLen && pattern[points.size() % patternLen] == 'f') { # 742| // flag expected, may only be 0 or 1 # 743| if (*str != QLatin1Char('0') && *str != QLatin1Char('1')) Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/src/svg/qsvghandler.cpp:2487:42: warning[deadcode.DeadStores]: Although the value stored to 's' is used in the enclosing expression, the value is never actually read from 's' # 2485| vals.append(0.0); # 2486| vals.append(0.0); # 2487|-> parseNumberTriplet(vals, s = byStr.constData()); # 2488| } else { # 2489| // To-animation not defined. Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/src/svg/qsvghandler.cpp:2495:42: warning[deadcode.DeadStores]: Although the value stored to 's' is used in the enclosing expression, the value is never actually read from 's' # 2493| if (!toStr.isEmpty()) { # 2494| // From-to-animation. # 2495|-> parseNumberTriplet(vals, s = fromStr.constData()); # 2496| parseNumberTriplet(vals, s = toStr.constData()); # 2497| } else if (!byStr.isEmpty()) { Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/src/svg/qsvghandler.cpp:2496:42: warning[deadcode.DeadStores]: Although the value stored to 's' is used in the enclosing expression, the value is never actually read from 's' # 2494| // From-to-animation. # 2495| parseNumberTriplet(vals, s = fromStr.constData()); # 2496|-> parseNumberTriplet(vals, s = toStr.constData()); # 2497| } else if (!byStr.isEmpty()) { # 2498| // From-by-animation. Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/src/svg/qsvghandler.cpp:2499:42: warning[deadcode.DeadStores]: Although the value stored to 's' is used in the enclosing expression, the value is never actually read from 's' # 2497| } else if (!byStr.isEmpty()) { # 2498| // From-by-animation. # 2499|-> parseNumberTriplet(vals, s = fromStr.constData()); # 2500| parseNumberTriplet(vals, s = byStr.constData()); # 2501| for (int i = vals.size() - 3; i < vals.size(); ++i) Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/src/svg/qsvghandler.cpp:2500:42: warning[deadcode.DeadStores]: Although the value stored to 's' is used in the enclosing expression, the value is never actually read from 's' # 2498| // From-by-animation. # 2499| parseNumberTriplet(vals, s = fromStr.constData()); # 2500|-> parseNumberTriplet(vals, s = byStr.constData()); # 2501| for (int i = vals.size() - 3; i < vals.size(); ++i) # 2502| vals[i] += vals[i - 3]; Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/src/svg/qsvghandler.cpp:2877:35: warning[core.CallAndMessage]: Called C++ object pointer is null # 2875| QGradient *grad = gradProp->qgradient(); # 2876| if (!link.isEmpty()) { # 2877|-> QSvgStyleProperty *prop = node->styleProperty(link); # 2878| //qDebug()<<"inherited "<<prop<<" ("<<link<<")"; # 2879| if (prop && prop->type() == QSvgStyleProperty::GRADIENT) { Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/src/svg/qsvgtinydocument.cpp:385:5: warning[cplusplus.NewDelete]: Use of memory after it is freed # 383| QSvgFont * QSvgTinyDocument::svgFont(const QString &family) const # 384| { # 385|-> return m_fonts[family]; # 386| } # 387| Error: CLANG_WARNING: qt5-qtsvg-5.15.14-build/qtsvg-everywhere-src-5.15.14/src/svg/qsvgtinydocument.cpp:408:5: warning[cplusplus.NewDelete]: Use of memory after it is freed # 406| QSvgFillStyleProperty *QSvgTinyDocument::namedStyle(const QString &id) const # 407| { # 408|-> return m_namedStyles.value(id); # 409| } # 410|