Commit 98835eed authored by Marcel Raad's avatar Marcel Raad Committed by Daniel Stenberg
Browse files

openssl: work around MSVC warning

MSVC 12 complains:

lib\vtls\openssl.c(1554): warning C4701: potentially uninitialized local
variable 'verstr' used It's a false positive, but as it's normally not,
I have enabled warning-as-error for that warning.
parent cee21eb6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1492,7 +1492,7 @@ static void ssl_tls_trace(int direction, int ssl_ver, int content_type,
  char ssl_buf[1024];
  char unknown[32];
  int msg_type, txt_len;
  const char *verstr;
  const char *verstr = NULL;
  struct connectdata *conn = userp;

  if(!conn || !conn->data || !conn->data->set.fdebug ||