mirror of
https://github.com/mandarine3ds/mandarine.git
synced 2024-11-23 06:09:46 +00:00
Removed uninitialized warning
This commit is contained in:
parent
dc332ebe6c
commit
0f8970edc8
@ -427,7 +427,7 @@ Result Process::LinearFree(VAddr target, u32 size) {
|
||||
|
||||
ResultVal<VAddr> Process::AllocateThreadLocalStorage() {
|
||||
std::size_t tls_page;
|
||||
std::size_t tls_slot;
|
||||
std::size_t tls_slot = 0;
|
||||
bool needs_allocation = true;
|
||||
|
||||
// Iterate over all the allocated pages, and try to find one where not all slots are used.
|
||||
|
@ -58,7 +58,7 @@ void Module::Interface::AddNotificationImpl(Kernel::HLERequestContext& ctx, bool
|
||||
const u32 message_size = rp.Pop<u32>();
|
||||
const u32 image_size = rp.Pop<u32>();
|
||||
|
||||
u32 process_id;
|
||||
u32 process_id = 0;
|
||||
if (!news_s) {
|
||||
process_id = rp.PopPID();
|
||||
LOG_INFO(Service_NEWS,
|
||||
|
Loading…
Reference in New Issue
Block a user