Deal with a couple of warnings from MSVC
authorChristopher Dykes <cdykes@fb.com>
Sat, 4 Jun 2016 00:43:13 +0000 (17:43 -0700)
committerFacebook Github Bot 4 <facebook-github-bot-4-bot@fb.com>
Sat, 4 Jun 2016 00:53:50 +0000 (17:53 -0700)
commit5911efa17496b5f4645955e143c3c0db40d1f9cc
tree05f5e6812a1a4e8f1beb33753b7d3b16016795d5
parent65b5c3d26e0b15814cfa0358c46f5335586bc48a
Deal with a couple of warnings from MSVC

Summary: MSVC is warning that `client` may be uninitialized, which is possible if the callback doesn't actually set them for some reason. Solve that by explicitly initializing it to `nullptr`. Also deal with the warning about the initialization of `dynamic::array` using braced syntax by not using that syntax.

Reviewed By: yfeldblum

Differential Revision: D3387782

fbshipit-source-id: e4d25ad32e99a73d7d062be9a2f2b5bde5d17396
folly/experimental/bser/Load.cpp
folly/io/async/SSLContext.cpp