Start compiling a bit of `-Wshadow`
[folly.git] / folly / SocketAddress.cpp
index d3614d6cc28145a186fe390ed5a46036ff1b52f8..e9a9043b0daa61c5732d6c228db4f17263554bef 100644 (file)
@@ -36,7 +36,7 @@ namespace {
  * A structure to free a struct addrinfo when it goes out of scope.
  */
 struct ScopedAddrInfo {
-  explicit ScopedAddrInfo(struct addrinfo* info) : info(info) {}
+  explicit ScopedAddrInfo(struct addrinfo* addrinfo) : info(addrinfo) {}
   ~ScopedAddrInfo() {
     freeaddrinfo(info);
   }