Skip to content

sync: from linuxdeepin/dtkwidget #199

sync: from linuxdeepin/dtkwidget

sync: from linuxdeepin/dtkwidget #199

Triggered via pull request September 23, 2024 06:14
Status Success
Total duration 42s
Artifacts

cppcheck.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
cppcheck: src/widgets/dbuttonbox.cpp#L361
Member variable 'DButtonBoxPrivate::group' is not initialized in the constructor.
cppcheck: src/widgets/dbuttonbox.cpp#L361
Member variable 'DButtonBoxPrivate::layout' is not initialized in the constructor.
cppcheck: src/widgets/dsearchedit.cpp#L436
The function '_q_onVoiceActionTrigger' is never used.
cppcheck: src/widgets/private/dbounceanimation_p.h#L13
Class 'DBounceAnimationPrivate' has a constructor with 1 argument that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit keyword in the constructor means some mistakes when using the class can be avoided.
cppcheck: src/widgets/private/dindeterminateprogressbar_p.h#L17
Class 'DIndeterminateProgressbarPrivate' has a constructor with 1 argument that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit keyword in the constructor means some mistakes when using the class can be avoided.
cppcheck: src/widgets/private/dindeterminateprogressbar_p.h#L23
The class 'DIndeterminateProgressbarPrivate' is unsafe, wrong usage can cause memory/resource leaks for 'DIndeterminateProgressbarPrivate::m_animation'. This can for instance be fixed by adding proper cleanup in the destructor.
cppcheck: src/widgets/private/dtoolbutton_p.h#L16
Class 'DToolButtonPrivate' has a constructor with 1 argument that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit keyword in the constructor means some mistakes when using the class can be avoided.
cppcheck
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/