Task #1438 - kf6-kcompletion-6.0.0-1.fc40/scan-results.err
back to task #1438download
Error: CLANG_WARNING: kf6-kcompletion-6.0.0-build/kcompletion-6.0.0/src/klineedit.cpp:711:25: warning[deadcode.DeadStores]: Value stored to 'len' is never read # 709| backspace(); # 710| txt = text(); # 711|-> len = txt.length(); # 712| } # 713| Error: CLANG_WARNING: kf6-kcompletion-6.0.0-build/kcompletion-6.0.0/src/klineedit.cpp:1233:13: warning[core.CallAndMessage]: Called C++ object pointer is null # 1231| completionBox(); # 1232| # 1233|-> if (d->completionBox->isVisible()) { # 1234| QListWidgetItem *currentItem = d->completionBox->currentItem(); # 1235| Error: CLANG_WARNING: kf6-kcompletion-6.0.0-build/kcompletion-6.0.0/src/klineedit.cpp:1279:9: warning[core.CallAndMessage]: Called C++ object pointer is null # 1277| if (create && !d->completionBox) { # 1278| setCompletionBox(new KCompletionBox(this)); # 1279|-> d->completionBox->setObjectName(QStringLiteral("completion box")); # 1280| d->completionBox->setFont(font()); # 1281| } Error: CLANG_WARNING: kf6-kcompletion-6.0.0-build/kcompletion-6.0.0/src/klineedit.cpp:1279:41: warning[cplusplus.NewDeleteLeaks]: Potential memory leak # 1277| if (create && !d->completionBox) { # 1278| setCompletionBox(new KCompletionBox(this)); # 1279|-> d->completionBox->setObjectName(QStringLiteral("completion box")); # 1280| d->completionBox->setFont(font()); # 1281| } Error: CLANG_WARNING: kf6-kcompletion-6.0.0-build/kcompletion-6.0.0/src/kzoneallocator.cpp:312:18: warning[core.NullDereference]: Access to field 'newer' results in a dereference of a null pointer (loaded from field 'currentBlock') # 310| while (d->currentBlock && !d->currentBlock->is_in(ptr)) { # 311| d->currentBlock = d->currentBlock->older; # 312|-> delBlock(d->currentBlock->newer); # 313| } # 314| d->blockOffset = ((char *)ptr) - d->currentBlock->begin; Error: CLANG_WARNING: kf6-kcompletion-6.0.0-build/kcompletion-6.0.0/src/kzoneallocator.cpp:314:38: warning[core.NullDereference]: Access to field 'begin' results in a dereference of a null pointer (loaded from field 'currentBlock') # 312| delBlock(d->currentBlock->newer); # 313| } # 314|-> d->blockOffset = ((char *)ptr) - d->currentBlock->begin; # 315| }