Skip to content

wasi_nn_openvino.c: avoid self-assignment warning#4434

Merged
lum1n0us merged 1 commit intobytecodealliance:mainfrom
yamt:nn-40
Jul 1, 2025
Merged

wasi_nn_openvino.c: avoid self-assignment warning#4434
lum1n0us merged 1 commit intobytecodealliance:mainfrom
yamt:nn-40

Conversation

@yamt
Copy link
Copy Markdown
Contributor

@yamt yamt commented Jun 30, 2025

No description provided.

@lum1n0us
Copy link
Copy Markdown
Contributor

BTW, do you think we need to add the self-assignment warning flag globally and enable it by default?

@yamt
Copy link
Copy Markdown
Contributor Author

yamt commented Jul 1, 2025

BTW, do you think we need to add the self-assignment warning flag globally and enable it by default?

-Wself-assign is enabled by -Wall here.
isn't it the case for you?

Apple clang version 17.0.0 (clang-1700.0.13.5)
Target: x86_64-apple-darwin24.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

@lum1n0us lum1n0us merged commit ebf1404 into bytecodealliance:main Jul 1, 2025
426 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants