summaryrefslogtreecommitdiff
path: root/ares_init.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-07-14 13:08:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-07-14 13:08:50 +0000
commit403b315a3bc81b9a65c7f921c19e5221199db9e7 (patch)
tree2d2b9b19a62744bd39e2287fbe723960fcda6c7d /ares_init.c
parent1c91a98fcd70512a5979d913a8ec52a4b530fd69 (diff)
downloadc-ares-403b315a3bc81b9a65c7f921c19e5221199db9e7.tar.gz
c-ares-403b315a3bc81b9a65c7f921c19e5221199db9e7.tar.bz2
c-ares-403b315a3bc81b9a65c7f921c19e5221199db9e7.zip
Vlad Dinulescu fixed two outstanding valgrind reports
Diffstat (limited to 'ares_init.c')
-rw-r--r--ares_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_init.c b/ares_init.c
index f6018c9..bc6a0ea 100644
--- a/ares_init.c
+++ b/ares_init.c
@@ -1341,7 +1341,7 @@ static void init_id_key(rc4_key* key,int key_data_len)
short ares__generate_new_id(rc4_key* key)
{
- short r;
+ short r=0;
ares__rc4(key, (unsigned char *)&r, sizeof(r));
return r;
}