mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
Try to solve coverity issue ID 112920
This commit is contained in:
parent
8095fa9ff8
commit
d17de78fb3
6
deps/7zip/7zCrc.c
vendored
6
deps/7zip/7zCrc.c
vendored
@ -63,12 +63,14 @@ void MY_FAST_CALL CrcGenerateTable(void)
|
||||
#else
|
||||
for (; i < 256 * CRC_NUM_TABLES; i++)
|
||||
{
|
||||
uint32_t r = g_CrcTable[i - 256];
|
||||
uint32_t r = g_CrcTable[i - 256];
|
||||
g_CrcTable[i] = g_CrcTable[r & 0xFF] ^ (r >> 8);
|
||||
}
|
||||
g_CrcUpdate = CrcUpdateT4;
|
||||
|
||||
#ifdef MY_CPU_X86_OR_AMD64
|
||||
g_CrcUpdate = CrcUpdateT8;
|
||||
#else
|
||||
g_CrcUpdate = CrcUpdateT4;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user