Fix uninitialisation bug in MiscFlagsHandler

This commit is contained in:
jakcron 2018-03-17 20:00:16 +08:00
parent 4cfcf6bae9
commit c5c71873b9

View file

@ -52,7 +52,7 @@ void nx::MiscFlagsHandler::exportKernelCapabilityList(fnd::List<KernelCapability
return; return;
// convert list to word flags // convert list to word flags
u32 flag; u32 flag = 0;
for (size_t i = 0; i < mFlags.getSize(); i++) for (size_t i = 0; i < mFlags.getSize(); i++)
{ {
flag |= BIT(mFlags[i]); flag |= BIT(mFlags[i]);