Core: Fix many "errors"/warnings and coding style (1)
Extractors, worldserver, authserver, shared and collision affected Errors were found using Cppcheck, open-source static analysis tool
This commit is contained in:
1 parent
902d48811e
commit
5f1977cb1d
23 files changed
+140
-155
No files matched your search
@@ -23,9 +23,10 @@
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
DBCFile::DBCFile(const std::string &filename) : filename(filename)
|
||||
DBCFile::DBCFile(const std::string& filename):
|
||||
filename(filename), recordSize(0), recordCount(0), fieldCount(0), stringSize(0), data(NULL), stringTable(NULL)
|
||||
{
|
||||
data = NULL;
|
||||
|
||||
}
|
||||
|
||||
bool DBCFile::open()
|
||||
|
||||
Reference in new issue
Block a user