mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Compilation fixes: Unused variable warnings
This commit is contained in:
parent
a97373cb7a
commit
d61d822231
4 changed files with 3 additions and 13 deletions
|
|
@ -1955,11 +1955,6 @@ static void Got_LeaveParty(UINT8 **cp,INT32 playernum)
|
|||
|
||||
void D_SendPlayerConfig(UINT8 n)
|
||||
{
|
||||
const profile_t *pr = PR_GetProfile(cv_lastprofile[n].value);
|
||||
|
||||
UINT8 buf[4];
|
||||
UINT8 *p = buf;
|
||||
|
||||
SendNameAndColor(n);
|
||||
WeaponPref_Send(n);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@ profile_t* PR_MakeProfile(
|
|||
boolean guest)
|
||||
{
|
||||
profile_t *new = Z_Malloc(sizeof(profile_t), PU_STATIC, NULL);
|
||||
UINT8 i;
|
||||
|
||||
new->version = PROFILEVER;
|
||||
|
||||
|
|
@ -392,10 +391,7 @@ void PR_LoadProfiles(void)
|
|||
// Profile update 5-->6: PWR isn't in profile data anymore.
|
||||
if (version < 6)
|
||||
{
|
||||
for (j = 0; j < PWRLV_NUMTYPES; j++)
|
||||
{
|
||||
READUINT16(save.p);
|
||||
}
|
||||
save.p += PWRLV_NUMTYPES*2;
|
||||
profilesList[i]->wins = 0;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -553,7 +553,6 @@ void K_SetPowerLevelScrambles(SINT8 powertype)
|
|||
|
||||
void K_PlayerForfeit(UINT8 playerNum, boolean pointLoss)
|
||||
{
|
||||
profile_t *pr;
|
||||
UINT8 p = 0;
|
||||
|
||||
SINT8 powerType = PWRLV_DISABLED;
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ void SV_LoadStats(void)
|
|||
|
||||
save.p += headerlen;
|
||||
UINT8 version = READUINT8(save.p);
|
||||
(void)version; // for now
|
||||
|
||||
numtracked = READUINT32(save.p);
|
||||
|
||||
|
|
@ -109,7 +110,6 @@ void SV_SaveStats(void)
|
|||
{
|
||||
size_t length = 0;
|
||||
const size_t headerlen = strlen(SERVERSTATSHEADER);
|
||||
UINT8 i;
|
||||
savebuffer_t save = {0};
|
||||
|
||||
if (!server)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue