Przeglądaj źródła

service/filesystem: Silence -Wunused-variable

ReinUsesLisp 6 lat temu
rodzic
commit
99db7d23dd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/core/hle/service/filesystem/fsp_srv.cpp

+ 1 - 1
src/core/hle/service/filesystem/fsp_srv.cpp

@@ -803,7 +803,7 @@ void FSP_SRV::CreateSaveDataFileSystem(Kernel::HLERequestContext& ctx) {
     IPC::RequestParser rp{ctx};
 
     auto save_struct = rp.PopRaw<FileSys::SaveDataDescriptor>();
-    auto save_create_struct = rp.PopRaw<std::array<u8, 0x40>>();
+    [[maybe_unused]] auto save_create_struct = rp.PopRaw<std::array<u8, 0x40>>();
     u128 uid = rp.PopRaw<u128>();
 
     LOG_DEBUG(Service_FS, "called save_struct = {}, uid = {:016X}{:016X}", save_struct.DebugInfo(),