Core: More warning fixes

This commit is contained in:
Shauren
2011-05-07 20:09:45 +02:00
parent 7905200eba
commit 551889c42f
16 changed files with 68 additions and 73 deletions
+2 -2
View File
@@ -84,7 +84,7 @@ inline bool ReadHex(std::istringstream& iss, uint32& res, uint32 length)
{
std::istringstream::pos_type pos = iss.tellg();
iss >> std::hex >> res;
uint32 size = uint32(iss.gcount());
//uint32 size = uint32(iss.gcount());
if (length && uint32(iss.tellg() - pos) != length)
return false;
return !iss.fail() && !iss.eof();
@@ -93,7 +93,7 @@ inline bool ReadHex(std::istringstream& iss, uint32& res, uint32 length)
#define DELIMITER ':'
#define PIPE_CHAR '|'
bool ChatLink::ValidateName(char* buffer, const char* context)
bool ChatLink::ValidateName(char* buffer, const char* /*context*/)
{
_name = buffer;
return true;