Check that NeedsToAlign is properly sets before checking alignment
Suppress annoying "may be used uninitialized in this function" warning with gcc >= 4.6