mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Clean up unused warnings
git-svn-id: https://svn.eduke32.com/eduke32@7354 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
94504ee0c3
commit
f84cbd9a1a
2 changed files with 6 additions and 7 deletions
|
@ -788,13 +788,6 @@ static inthashtable_t *const inttables[] = {
|
|||
&h_actorvar,
|
||||
};
|
||||
|
||||
static inthashtable_t *const inttables_free[] = {
|
||||
&h_varvar,
|
||||
&h_globalvar,
|
||||
&h_playervar,
|
||||
&h_actorvar,
|
||||
};
|
||||
|
||||
|
||||
const tokenmap_t iter_tokens [] =
|
||||
{
|
||||
|
@ -1792,6 +1785,7 @@ static int C_GetStructureIndexes(bool const labelsonly, hashtable_t const * cons
|
|||
return labelNum;
|
||||
}
|
||||
|
||||
#ifdef CURRENTLY_UNUSED
|
||||
static FORCE_INLINE bool C_IntPow2(int32_t const v)
|
||||
{
|
||||
return ((v!=0) && (v&(v-1))==0);
|
||||
|
@ -1808,6 +1802,7 @@ static inline uint32_t C_Pow2IntLogBase2(int32_t const v)
|
|||
|
||||
return r;
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool C_CheckMalformedBranch(intptr_t lastScriptPtr)
|
||||
{
|
||||
|
|
|
@ -199,7 +199,9 @@ static const uint32_t cInitialMapStateRevisionNumber = 0;
|
|||
static const uint32_t cStartingRevisionIndex = 1;
|
||||
|
||||
static const int32_t cLocSprite_DeletedSpriteStat = MAXSTATUS;
|
||||
#ifdef CURRENTLY_UNUSED
|
||||
static const int32_t cNetSprite_DeletedSpriteStat = STAT_NETALLOC;
|
||||
#endif
|
||||
|
||||
//[75] When a client attempts to allocate a sprite during the game loop, which is not defined as a clientside sprite,
|
||||
// the insert will go through, and the sprite will be put on this list.
|
||||
|
@ -441,6 +443,7 @@ static netField_t ActorFields[] =
|
|||
// max packet array size
|
||||
#define MAX_WORLDBUFFER WORLD_DATASIZE + WORLD_OVERHEADSIZE
|
||||
|
||||
#ifdef CURRENTLY_UNUSED
|
||||
// Just so you can get an idea of how much memory the netcode needs...
|
||||
static const int64_t cWORLD_DataSize = WORLD_DATASIZE;
|
||||
static const int64_t cWORLD_OverheadSize = WORLD_OVERHEADSIZE;
|
||||
|
@ -448,6 +451,7 @@ static const int64_t cWORLD_TotalSize = MAX_WORLDBUFFER;
|
|||
|
||||
// ...it's pretty big for now (!)
|
||||
static const int64_t SnapshotArraySize = sizeof(netmapstate_t) * NET_REVISIONS;
|
||||
#endif
|
||||
|
||||
|
||||
// both the client and server store their current revision number here,
|
||||
|
|
Loading…
Reference in a new issue