diff --git a/source/duke3d/src/gamestructures.cpp b/source/duke3d/src/gamestructures.cpp index 24b1b8ef4..ebfce9dd0 100644 --- a/source/duke3d/src/gamestructures.cpp +++ b/source/duke3d/src/gamestructures.cpp @@ -1045,8 +1045,7 @@ void __fastcall VM_SetWall(int32_t const wallNum, int32_t const labelNum, int32_ break; } - return; -} + } int32_t __fastcall VM_GetSector(int32_t const sectNum, int32_t labelNum) { diff --git a/source/duke3d/src/m32vars.cpp b/source/duke3d/src/m32vars.cpp index e9e65f1d4..42f5f671c 100644 --- a/source/duke3d/src/m32vars.cpp +++ b/source/duke3d/src/m32vars.cpp @@ -67,8 +67,6 @@ static void Gv_Clear(void) hash_init(&h_gamevars); hash_init(&h_arrays); - - return; } #define ASSERT_IMPLIES(x, y) Bassert(!(x) || (y)) diff --git a/source/duke3d/src/savegame.cpp b/source/duke3d/src/savegame.cpp index cdf213d1f..69ee1d346 100644 --- a/source/duke3d/src/savegame.cpp +++ b/source/duke3d/src/savegame.cpp @@ -916,7 +916,6 @@ static void docmpsd(const void *ptr, void *dump, uint32_t size, uint32_t cnt, ui CPDATA(8); *diffvar = retdiff; - return; #undef CPELTS #undef CPSINGLEVAL @@ -971,7 +970,6 @@ static void cmpspecdata(const dataspec_t *spec, uint8_t **dumpvar, uint8_t **dif *diffvar = diff; *dumpvar = dump; - return; } #define VALOFS(bits,p,ofs) (*(((UINT(bits) *)(p)) + (ofs)))