-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scan-build: work around optin.performance.Padding #436
Conversation
ERROR: ERROR: QA failed on build_asan. Pipeline 23986 |
ERROR: ERROR: QA failed on build_asan. Pipeline 23987 |
Since the layout has to be preserved, padding is added.
Information: QA ran without warnings. Pipeline 23988 |
#define SCAN_BUILD_X64_PADDING(x) x | ||
#else | ||
#define SCAN_BUILD_X64_PADDING(_x) | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a nit, but I think that a newline here could help in reading that what comes after this #endif
is not part of the same block of code.
#else | ||
#ifdef LONG_BIT | ||
#define __WORDSIZE LONG_BIT | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#else error ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok for me
Merged in #437, thanks! |
Since the layout has to be preserved, padding is added.
This is to help the Suricata scan-build CI jobs currently showing lots of