Skip to content

common: silence Clang -Wnontrivial-memcall warnings - #922

Merged
kirithika7 merged 1 commit into
Multicorewareinc:masterfrom
mcw-Lavanya:fix-nontrivial-memcall
Jul 21, 2026
Merged

common: silence Clang -Wnontrivial-memcall warnings#922
kirithika7 merged 1 commit into
Multicorewareinc:masterfrom
mcw-Lavanya:fix-nontrivial-memcall

Conversation

@mcw-Lavanya

Copy link
Copy Markdown
Collaborator

Summary

Suppress Clang's -Wnontrivial-memcall warning by explicitly casting this
to void* before calling memset().

This makes the intent explicit and silences the warning without changing
runtime behavior.

Testing

  • Built x265 with Clang.
  • Verified that the warning is no longer emitted.

@kirithika7
kirithika7 merged commit 585135b into Multicorewareinc:master Jul 21, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants