Enable -Wunreachable-code-return
authorChristopher Dykes <cdykes@fb.com>
Tue, 13 Dec 2016 18:01:00 +0000 (10:01 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Tue, 13 Dec 2016 18:03:14 +0000 (10:03 -0800)
commit4824fb8374d19f411676eb5dfefb507dd3e747fd
treefd2a2420fd8a63fd2324d36f8380fbfd2a4cf1e4
parentab1bf6715e09c7826389f6d927ef39c86e1156ed
Enable -Wunreachable-code-return

Summary: The most common place this happened was in tests where it was being used to force the return type of a lambda, but there were a couple of places in the main code that triggered this as well.

Reviewed By: yfeldblum

Differential Revision: D4310187

fbshipit-source-id: e3701cff9827eacaf3be8d28296441466eb2fa11
folly/IPAddress.cpp
folly/Subprocess.cpp
folly/experimental/symbolizer/test/Crash.cpp
folly/fibers/test/FibersTest.cpp
folly/futures/test/FutureTest.cpp
folly/io/async/AsyncTimeout.cpp
folly/io/async/SSLContext.cpp
folly/test/TryTest.cpp