Fix uninit var warning.

git-svn-id: file:///svn/unbound/trunk@3002 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2013-10-31 15:47:02 +00:00
parent 96938e1d0d
commit 8ed224986e

View File

@ -637,8 +637,8 @@ ldns_str2wire_rr_buf_internal(const char* str, uint8_t* rr, size_t* len,
int status;
int not_there = 0;
char token[LDNS_MAX_RDFLEN+1];
uint32_t ttl;
uint16_t tp, cl;
uint32_t ttl = 0;
uint16_t tp = 0, cl = 0;
/* string in buffer */
ldns_buffer strbuf;