mirror of
https://review.haiku-os.org/haiku
synced 2025-01-19 21:11:28 +01:00
38dc3bf2c5
The use of the "register" keyword is harmless, though we should eventually remove it. Taking addresses of packed members is "mostly harmless" on x86 where unaligned accesses are OK. It's less harmless on other architectures, but we sometimes use packed structures when manually aligning things. Unfortunately GCC throws this warning even when the actual pointer would be aligned, not merely when it's unaligned, making the warning far too noisy and not really that useful. "Found" by GCC 11.