ntlm: prevent (spurious) compiler warnings Pull in commit https://github.com/ethomson/ntlmclient/commit/e7b2583e1bc28c33c43854e7c318e859b4e83bef to fix #5353.
diff --git a/deps/ntlmclient/ntlm.c b/deps/ntlmclient/ntlm.c
index 9d0f3b8..24b08f6 100644
--- a/deps/ntlmclient/ntlm.c
+++ b/deps/ntlmclient/ntlm.c
@@ -587,7 +587,9 @@ int ntlm_client_negotiate(
size_t *out_len,
ntlm_client *ntlm)
{
- size_t hostname_len, hostname_offset, domain_len, domain_offset;
+ size_t hostname_len, domain_len;
+ size_t domain_offset = 0;
+ size_t hostname_offset = 0;
uint32_t flags = 0;
assert(out && out_len && ntlm);