fix most warnings with -pendantic

This commit is contained in:
abma
2014-08-18 02:09:06 +02:00
parent 48a772b20b
commit 6c5f9ecb06
23 changed files with 95 additions and 95 deletions

View File

@@ -506,7 +506,7 @@ void ReadBinaryDataArrayHead(const char*& data, const char* end, char& type, uin
// read binary data array, assume cursor points to the 'compression mode' field (i.e. behind the header)
void ReadBinaryDataArray(char type, uint32_t count, const char*& data, const char* end,
std::vector<char>& buff,
const Element& el)
const Element& /*el*/)
{
ai_assert(static_cast<size_t>(end-data) >= 4); // runtime check for this happens at tokenization stage