Merge pull request #4148 from Morph1984/silence-warnings
Silence miscellaneous warnings
This commit is contained in:
commit
2ce3aedda8
|
@ -86,7 +86,8 @@ std::string FormatField(Field type, const std::vector<u8>& data) {
|
||||||
return Common::StringFromFixedZeroTerminatedBuffer(
|
return Common::StringFromFixedZeroTerminatedBuffer(
|
||||||
reinterpret_cast<const char*>(data.data()), data.size());
|
reinterpret_cast<const char*>(data.data()), data.size());
|
||||||
default:
|
default:
|
||||||
UNIMPLEMENTED();
|
UNIMPLEMENTED_MSG("Unimplemented field type={}", type);
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ private:
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
rb.Push<u32>(write_size);
|
rb.Push<u32>(static_cast<u32>(write_size));
|
||||||
}
|
}
|
||||||
|
|
||||||
void StartIndividual(Kernel::HLERequestContext& ctx) {
|
void StartIndividual(Kernel::HLERequestContext& ctx) {
|
||||||
|
|
Loading…
Reference in New Issue