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 Objective-C static analysis warnings. #20417

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

edgchen1
Copy link
Contributor

Description

Replace most usages of [NSString stringWithUTF8String:] with checked helper function. The issue is that the former can return nil.

Motivation and Context

Fix Objective-C static analysis build.
https://dev.azure.com/onnxruntime/onnxruntime/_build?definitionId=178&_a=summary

@edgchen1 edgchen1 merged commit 9cc5bad into main Apr 24, 2024
94 checks passed
@edgchen1 edgchen1 deleted the edgchen1/fix_objc_static_anaylsis_warning branch April 24, 2024 18:48
TedThemistokleous pushed a commit to TedThemistokleous/onnxruntime that referenced this pull request May 7, 2024
Replace most usages of [NSString stringWithUTF8String:] with checked helper function. The issue is that the former can return nil.
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