From 20c4bfe6a88e9c10ad7834c4734b0105fc824033 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 3 Jan 2011 07:19:48 +0000 Subject: [PATCH] get rid of more clang warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10692 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 4 ++-- clvm_cmds.c | 2 +- protocol.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cl_parse.c b/cl_parse.c index 890be7e0..dd9f5504 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -4092,7 +4092,7 @@ void CL_ParseServerMessage(void) MSG_ReadCoord(cls.protocol); MSG_ReadCoord(cls.protocol); MSG_ReadCoord(cls.protocol); - MSG_ReadByte(); + (void) MSG_ReadByte(); MSG_ReadLong(); MSG_ReadLong(); MSG_ReadString(); @@ -4107,7 +4107,7 @@ void CL_ParseServerMessage(void) MSG_ReadCoord(cls.protocol); MSG_ReadCoord(cls.protocol); MSG_ReadCoord(cls.protocol); - MSG_ReadByte(); + (void) MSG_ReadByte(); MSG_ReadString(); } else diff --git a/clvm_cmds.c b/clvm_cmds.c index 9c1247ce..74326a44 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -1545,7 +1545,7 @@ static void VM_CL_ReadPicture (void) // texture found and loaded // skip over the jpeg as we don't need it for(i = 0; i < size; ++i) - MSG_ReadByte(); + (void) MSG_ReadByte(); } else { diff --git a/protocol.c b/protocol.c index 5f1d5e4e..0c5984e2 100644 --- a/protocol.c +++ b/protocol.c @@ -2866,10 +2866,10 @@ void EntityStateQW_ReadPlayerUpdate(void) if (bits & QW_CM_UP) MSG_ReadShort(); // cmd->upmove if (bits & QW_CM_BUTTONS) - MSG_ReadByte(); // cmd->buttons + (void) MSG_ReadByte(); // cmd->buttons if (bits & QW_CM_IMPULSE) - MSG_ReadByte(); // cmd->impulse - MSG_ReadByte(); // cmd->msec + (void) MSG_ReadByte(); // cmd->impulse + (void) MSG_ReadByte(); // cmd->msec } if (playerflags & QW_PF_VELOCITY1) velocity[0] = MSG_ReadShort(); -- 2.39.2