mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
feat(CI): add cppcheck (#15211)
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
#endif
|
||||
extern ArchiveSet gOpenArchives;
|
||||
|
||||
// cppcheck-suppress ctuOneDefinitionRuleViolation
|
||||
typedef struct
|
||||
{
|
||||
char name[64];
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
// cppcheck-suppress ctuOneDefinitionRuleViolation
|
||||
class DBCFile
|
||||
{
|
||||
public:
|
||||
@@ -48,8 +49,8 @@ public:
|
||||
{ }
|
||||
};
|
||||
// Iteration over database
|
||||
class Iterator;
|
||||
class Record
|
||||
class Iterator; // cppcheck-suppress ctuOneDefinitionRuleViolation
|
||||
class Record // cppcheck-suppress ctuOneDefinitionRuleViolation
|
||||
{
|
||||
public:
|
||||
[[nodiscard]] float getFloat(size_t field) const
|
||||
|
||||
@@ -32,6 +32,7 @@ union u_map_fcc
|
||||
//
|
||||
// File version chunk
|
||||
//
|
||||
// cppcheck-suppress ctuOneDefinitionRuleViolation
|
||||
struct file_MVER
|
||||
{
|
||||
union
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
// cppcheck-suppress ctuOneDefinitionRuleViolation
|
||||
class MPQArchive
|
||||
{
|
||||
public:
|
||||
@@ -69,6 +70,7 @@ public:
|
||||
};
|
||||
typedef std::deque<MPQArchive*> ArchiveSet;
|
||||
|
||||
// cppcheck-suppress ctuOneDefinitionRuleViolation
|
||||
class MPQFile
|
||||
{
|
||||
//MPQHANDLE handle;
|
||||
|
||||
Reference in New Issue
Block a user