chore: cleanup compiler warnings, disable "unaligned pointer value" warning (#5743)

This commit is contained in:
philmoz
2025-01-01 11:33:32 +10:00
committed by GitHub
parent 8c5894af83
commit b6d46325f7
13 changed files with 180 additions and 173 deletions
-5
View File
@@ -63,11 +63,6 @@ inline unsigned align32(unsigned n)
return rest ? n + 4u - rest : n;
}
inline std::string TEXT_AT_INDEX(const char *const *val, uint8_t idx)
{
return std::string(val[idx]);
}
template<class T>
inline void SWAP(T & a, T & b)
{