From: Nathan Bronson Date: Wed, 14 Dec 2016 17:03:02 +0000 (-0800) Subject: fix ExceptionTracerTest build X-Git-Tag: v2016.12.19.00~20 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=56ef367e4b0cf8fdb1265f0f6d9a40e7fe855f9a;p=folly.git 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 --- diff --git a/folly/experimental/exception_tracer/ExceptionTracerTest.cpp b/folly/experimental/exception_tracer/ExceptionTracerTest.cpp index 25a66524..3ab2f35c 100644 --- a/folly/experimental/exception_tracer/ExceptionTracerTest.cpp +++ b/folly/experimental/exception_tracer/ExceptionTracerTest.cpp @@ -94,5 +94,5 @@ int main(int /* argc */, char* /* argv */ []) { testExceptionPtr1(); testExceptionPtr2(); baz(); - return 0; + // no return because baz() is [[noreturn]] }