mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 17:11:23 +00:00
exo2: remove unused lvars
This commit is contained in:
parent
63629b22a1
commit
435d2fb0c3
@ -83,11 +83,8 @@ namespace ams::secmon::smc {
|
||||
}
|
||||
|
||||
void GetRandomFromCache(void *dst, size_t size) {
|
||||
u8 * const cache = GetRandomBytesCache();
|
||||
u8 * cur_dst = static_cast<u8 *>(dst);
|
||||
|
||||
/* Copy out the requested size. */
|
||||
std::memcpy(dst, cache + g_random_offset_low, size);
|
||||
std::memcpy(dst, GetRandomBytesCache() + g_random_offset_low, size);
|
||||
|
||||
/* Advance. */
|
||||
g_random_offset_low += size;
|
||||
|
Loading…
Reference in New Issue
Block a user