Skip to content

Update OSLogOptimization.cpp to fix warning. #24908

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

Merged
merged 1 commit into from
May 20, 2019
Merged

Conversation

rxwei
Copy link
Contributor

@rxwei rxwei commented May 20, 2019

Fixes the following warning:

swift/lib/SILOptimizer/Mandatory/OSLogOptimization.cpp:396:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^

Fixes the following warning:
```console
third_party/unsupported_toolchains/swift/src/swift/lib/SILOptimizer/Mandatory/OSLogOptimization.cpp:396:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
```
@rxwei rxwei requested a review from ravikandhadai May 20, 2019 03:43
@rxwei rxwei changed the title Update OSLogOptimizationc.cpp to fix warning. Update OSLogOptimization.cpp to fix warning. May 20, 2019
@rxwei
Copy link
Contributor Author

rxwei commented May 20, 2019

@swift-ci please smoke test

@ravikandhadai
Copy link
Contributor

Thanks @rxwei

@ravikandhadai ravikandhadai merged commit d744ab0 into master May 20, 2019
@dan-zheng dan-zheng deleted the rxwei-patch-5 branch August 28, 2019 16:27
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