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

@@ -61,7 +61,7 @@ namespace ams {
private:
TimeSpanType ts;
public:
constexpr ALWAYS_INLINE TimeSpan(ZeroTag z = nullptr) : ts(TimeSpanType::FromNanoSeconds(0)) { /* ... */ }
constexpr ALWAYS_INLINE TimeSpan(ZeroTag z = nullptr) : ts(TimeSpanType::FromNanoSeconds(0)) { AMS_UNUSED(z); /* ... */ }
constexpr ALWAYS_INLINE TimeSpan(const TimeSpanType &t) : ts(t) { /* ... */ }
template<typename R, typename P>