mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-20 05:32:54 -05:00
Fix uninit var warning.
git-svn-id: file:///svn/unbound/trunk@3002 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
96938e1d0d
commit
8ed224986e
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue