upgraded form qmake5 to cmake #26
Closed
Annotations
8 warnings
Run linuxdeepin/action-cppcheck@main:
src/dblockdevice.h#L27
failed to expand 'Q_PROPERTY', Wrong number of parameters for macro 'Q_PROPERTY'.
|
Run linuxdeepin/action-cppcheck@main:
src/dudisksjob.cpp#L12
Member variable 'DUDisksJobPrivate::q_ptr' is not initialized in the constructor.
|
Run linuxdeepin/action-cppcheck@main:
src/dudisksjob.cpp#L12
Member variable 'DUDisksJobPrivate::dbusif' is not initialized in the constructor.
|
Run linuxdeepin/action-cppcheck@main:
src/dudisksjob.cpp#L12
Class 'DUDisksJobPrivate' 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.
|
Run linuxdeepin/action-cppcheck@main:
src/dudisksjob.cpp#L37
Consider using std::transform algorithm instead of a raw loop.
|
Run linuxdeepin/action-cppcheck@main:
src/udisks2_dbus_common.cpp#L19
The function 'interfaceExists' is never used.
|
Run linuxdeepin/action-cppcheck@main:
src/udisks2_dbus_common.cpp#L41
The function 'objectManager' is never used.
|
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/
|
Loading