Przeglądaj źródła

fixup! hle: kernel: Ensure all kernel objects with KAutoObject are properly created.

bunnei 5 lat temu
rodzic
commit
9f81221528
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      src/core/hle/service/am/am.cpp

+ 0 - 2
src/core/hle/service/am/am.cpp

@@ -1338,8 +1338,6 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_)
 
     RegisterHandlers(functions);
 
-    auto& kernel = system.Kernel();
-
     Kernel::KAutoObject::Create(std::addressof(gpu_error_detected_event));
     Kernel::KAutoObject::Create(std::addressof(friend_invitation_storage_channel_event));
     Kernel::KAutoObject::Create(std::addressof(health_warning_disappeared_system_event));