kern: build with -Wextra

This commit is contained in:
Michael Scire committed 2020-08-17 14:20:24 -07:00
1 parent d3014f6ed9
commit 73798cb812
32 files changed
+100 -30

No files matched your search

@@ -498,6 +498,7 @@ namespace ams::svc::ipc {
}
static constexpr ALWAYS_INLINE s32 GetSpecialDataIndex(const MessageHeader &hdr, const SpecialHeader &spc) {
AMS_UNUSED(hdr);
return (MessageHeader::GetDataSize() / sizeof(util::BitPack32)) + (spc.GetHeaderSize() / sizeof(util::BitPack32));
}