Skip to content

Comments

Fix "warning: control reaches end of non-void function" in decode.cc#16

Open
ziemek99 wants to merge 1 commit intogoogle:masterfrom
ziemek99:fix-non-void
Open

Fix "warning: control reaches end of non-void function" in decode.cc#16
ziemek99 wants to merge 1 commit intogoogle:masterfrom
ziemek99:fix-non-void

Conversation

@ziemek99
Copy link

@ziemek99 ziemek99 commented Apr 3, 2022

I discovered that there's no explicit return statement at the end of int main() function while moving from C++ to Rust in my fork. Bazel doesn't report this warning at all, even with -Wall.

I discovered that there's no explicit return statement at the end of
main function while moving from C++ to Rust in my fork. Bazel doesn't
report this warning at all, even with -Wall.
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.

1 participant