Skip to content
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

Fix warning when compiling with -flto #15838

Merged
merged 1 commit into from Aug 18, 2023
Merged

Conversation

stelfrag
Copy link
Collaborator

Summary

Fixes warning

database/sqlite/sqlite_functions.c:829:17: warning: '__atomic_load_4' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
  829 |             if (rrdhost_flag_check(host, RRDHOST_FLAG_PENDING_CONTEXT_LOAD)) {

@stelfrag stelfrag marked this pull request as ready for review August 18, 2023 10:17
@stelfrag stelfrag requested a review from ilyam8 August 18, 2023 10:17
@stelfrag stelfrag merged commit 22aff06 into netdata:master Aug 18, 2023
129 checks passed
@stelfrag stelfrag deleted the fix_warning branch August 18, 2023 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants