mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-23 04:41:12 +00:00
exo2: remove unused lvars
This commit is contained in:
parent
63629b22a1
commit
435d2fb0c3
1 changed files with 1 additions and 4 deletions
|
@ -83,11 +83,8 @@ namespace ams::secmon::smc {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GetRandomFromCache(void *dst, size_t size) {
|
void GetRandomFromCache(void *dst, size_t size) {
|
||||||
u8 * const cache = GetRandomBytesCache();
|
|
||||||
u8 * cur_dst = static_cast<u8 *>(dst);
|
|
||||||
|
|
||||||
/* Copy out the requested size. */
|
/* Copy out the requested size. */
|
||||||
std::memcpy(dst, cache + g_random_offset_low, size);
|
std::memcpy(dst, GetRandomBytesCache() + g_random_offset_low, size);
|
||||||
|
|
||||||
/* Advance. */
|
/* Advance. */
|
||||||
g_random_offset_low += size;
|
g_random_offset_low += size;
|
||||||
|
|
Loading…
Reference in a new issue