aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-22 13:52:31 -0400
committerJack Lloyd <[email protected]>2016-10-22 13:52:31 -0400
commit632cf9fe55138631d1e63710a1b4c76607bfa09a (patch)
tree599c6f896600f2d1e83c63589e037ef2b1397d81
parentb5f3744536fc7041282740da07ee8fdd0e874aaa (diff)
Initialize member variable (Coverity find)
-rw-r--r--src/cli/tls_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/tls_client.cpp b/src/cli/tls_client.cpp
index caf7d4a1f..b97688386 100644
--- a/src/cli/tls_client.cpp
+++ b/src/cli/tls_client.cpp
@@ -317,7 +317,7 @@ class TLS_Client final : public Command, public Botan::TLS::Callbacks
}
private:
- int m_sockfd;
+ int m_sockfd = -1;
};
BOTAN_REGISTER_COMMAND("tls_client", TLS_Client);