fix ExceptionTracerTest build
authorNathan Bronson <ngbronson@fb.com>
Wed, 14 Dec 2016 17:03:02 +0000 (09:03 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 14 Dec 2016 17:17:56 +0000 (09:17 -0800)
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

folly/experimental/exception_tracer/ExceptionTracerTest.cpp

index 25a66524661b59d922ac92a8f825caa409f35df8..3ab2f35c58a491aa62fd0ec2e98749dcef7f630f 100644 (file)
@@ -94,5 +94,5 @@ int main(int /* argc */, char* /* argv */ []) {
   testExceptionPtr1();
   testExceptionPtr2();
   baz();
-  return 0;
+  // no return because baz() is [[noreturn]]
 }