Avoid using potentially uninitialized variable

This commit is contained in:
Asanka C. Herath
2010-11-24 12:59:58 -05:00
parent 5e5a87555b
commit 0a123a5945

View File

@@ -455,7 +455,7 @@ heim_ntlm_decode_targetinfo(const struct ntlm_buf *data,
{
uint16_t type, len;
krb5_storage *in;
int ret, done = 0;
int ret = 0, done = 0;
memset(ti, 0, sizeof(*ti));