Explorar el Código

lm: Silence no return value warning

Morph hace 6 años
padre
commit
45dac6bc5c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/core/hle/service/lm/manager.cpp

+ 2 - 1
src/core/hle/service/lm/manager.cpp

@@ -86,7 +86,8 @@ std::string FormatField(Field type, const std::vector<u8>& data) {
         return Common::StringFromFixedZeroTerminatedBuffer(
             reinterpret_cast<const char*>(data.data()), data.size());
     default:
-        UNIMPLEMENTED();
+        UNIMPLEMENTED_MSG("Unimplemented field type={}", type);
+        return "";
     }
 }