Add -Wuninitialized -Wunused -Wcast-align to warnings checked by kitchen_sink (and fixup warnings) (#125)

This commit is contained in:
Graham Sanderson
2021-02-15 10:06:12 -06:00
committed by GitHub
parent 81c3d3fae6
commit 8b9907e7f2
15 changed files with 32 additions and 31 deletions

View File

@ -17,7 +17,7 @@ void *operator new[](std::size_t n) {
return std::malloc(n);
}
void operator delete(void *p, std::size_t n) noexcept { std::free(p); }
void operator delete(void *p, __unused std::size_t n) noexcept { std::free(p); }
void operator delete(void *p) { std::free(p); }