Remove redundant return statements

git-svn-id: https://svn.eduke32.com/eduke32@7069 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-10-16 06:08:42 +00:00
parent dcb0f9d8bb
commit e9797fe24d
3 changed files with 1 additions and 6 deletions

View file

@ -1045,8 +1045,7 @@ void __fastcall VM_SetWall(int32_t const wallNum, int32_t const labelNum, int32_
break; break;
} }
return; }
}
int32_t __fastcall VM_GetSector(int32_t const sectNum, int32_t labelNum) int32_t __fastcall VM_GetSector(int32_t const sectNum, int32_t labelNum)
{ {

View file

@ -67,8 +67,6 @@ static void Gv_Clear(void)
hash_init(&h_gamevars); hash_init(&h_gamevars);
hash_init(&h_arrays); hash_init(&h_arrays);
return;
} }
#define ASSERT_IMPLIES(x, y) Bassert(!(x) || (y)) #define ASSERT_IMPLIES(x, y) Bassert(!(x) || (y))

View file

@ -916,7 +916,6 @@ static void docmpsd(const void *ptr, void *dump, uint32_t size, uint32_t cnt, ui
CPDATA(8); CPDATA(8);
*diffvar = retdiff; *diffvar = retdiff;
return;
#undef CPELTS #undef CPELTS
#undef CPSINGLEVAL #undef CPSINGLEVAL
@ -971,7 +970,6 @@ static void cmpspecdata(const dataspec_t *spec, uint8_t **dumpvar, uint8_t **dif
*diffvar = diff; *diffvar = diff;
*dumpvar = dump; *dumpvar = dump;
return;
} }
#define VALOFS(bits,p,ofs) (*(((UINT(bits) *)(p)) + (ofs))) #define VALOFS(bits,p,ofs) (*(((UINT(bits) *)(p)) + (ofs)))