L #-: cppcheck version 2.19 (#4714)

* Remove empty destructors, keep only those which change private/public
contract
* Remove unused variables
* Use static methods whenever possible
* Delete copy and assign constructor if cppcheck complains

* Disable AStyle linting
This commit is contained in:
Pavel Czerný authored and GitHub committed 2026-11-24 12:08:06 +01:00
1 parent 204dd77ad8
commit d5807d9bb9
170 files changed
+188 -421

No files matched your search

+2 -2
View File
@@ -192,7 +192,7 @@ public:
{
};
virtual ~PoolObjectSQL()
~PoolObjectSQL() override
{
if (!ro && _mutex != nullptr)
{
@@ -701,7 +701,7 @@ protected:
* must be checked before
* @param new_perm the new value. If it is -1, it will be ignored
*/
void set_perm(int &perm, const int &new_perm)
static void set_perm(int &perm, const int &new_perm)
{
if ( new_perm != -1 )
{