From: Sachin Kadloor Date: Fri, 31 Oct 2014 18:13:13 +0000 (-0700) Subject: Undo a local change X-Git-Tag: v0.22.0~207 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=48d2e85da89bac166c1f9d0cf874b74d3fe73e01;p=folly.git Undo a local change Summary: I had committed a change by mistake. Reverting it. Test Plan: build it. Reviewed By: lakshmiganesh@fb.com Subscribers: njormrod, folly-diffs@ FB internal diff: D1652341 Signature: t1:1652341:1414779013:9f363acba95fbac1988200081659edf71ac63eec --- diff --git a/folly/SocketAddress.cpp b/folly/SocketAddress.cpp index 0f9b9d16..f624b3a6 100644 --- a/folly/SocketAddress.cpp +++ b/folly/SocketAddress.cpp @@ -29,9 +29,6 @@ #include #include #include -#include -#include -#include namespace { @@ -546,14 +543,6 @@ size_t SocketAddress::hash() const { break; case AF_UNSPEC: default: - void *array[20]; - size_t size; - // get void*'s for all entries on the stack - size = backtrace(array, 20); - // print out all the frames to stderr - fprintf(stderr, "Exception: \n"); - backtrace_symbols_fd(array, size, STDERR_FILENO); - LOG(FATAL) << "Invalid ip address: " << describe(); throw std::invalid_argument( "SocketAddress: unsupported address family " "for hashing");