mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 01:59:09 +00:00
feat(CI): add cppcheck (#15211)
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
This commit is contained in:
@@ -122,7 +122,10 @@ char* DBCDatabaseLoader::Load(uint32& records, char**& indexTable)
|
||||
|
||||
// insert new records to index table
|
||||
for (uint32 i = 0; i < newRecords; ++i)
|
||||
{
|
||||
// cppcheck-suppress autoVariables
|
||||
indexTable[newIndexes[i]] = &dataTable[i * _recordSize];
|
||||
}
|
||||
|
||||
records = indexTableSize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user