chore: refactor regitster function #1582
Triggered via pull request
August 14, 2024 09:29
deepin-mozart
opened
#889
Status
Success
Total duration
3m 32s
Artifacts
–
Annotations
3 warnings
cppcheck:
src/plugins/core/uicontroller/controller.cpp#L224
Parameter 'widgetCreateFunc' can be declared with const. However it seems that 'registerWidgetCreator' is a callback function, if 'widgetCreateFunc' is declared with const you might also need to cast function pointer(s).
|
cppcheck:
src/plugins/core/uicontroller/controller.cpp#L512
Local variable 'name' shadows outer argument
|
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/
|