Commit 56ef367e authored by Nathan Bronson's avatar Nathan Bronson Committed by Facebook Github Bot

fix ExceptionTracerTest build

Summary:
A recent diff added [[noreturn]] annotations that cause buck
build to fail for ExceptionTracerTest.cpp, due to our use of -Werror
and -Wunreachable-code-return.  This diff removes the unreachable return
statement.

Differential Revision: D4326888

fbshipit-source-id: 7863c163eedcf2a7e19730c1de194f05c544a2c0
parent f3f4bcfb
......@@ -94,5 +94,5 @@ int main(int /* argc */, char* /* argv */ []) {
testExceptionPtr1();
testExceptionPtr2();
baz();
return 0;
// no return because baz() is [[noreturn]]
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment