Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164705621
D40695.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
598 B
Referenced Files
None
Subscribers
None
D40695.diff
View Options
diff --git a/contrib/ldns/wire2host.c b/contrib/ldns/wire2host.c
--- a/contrib/ldns/wire2host.c
+++ b/contrib/ldns/wire2host.c
@@ -59,7 +59,6 @@
uint16_t pointer_target;
uint8_t pointer_target_buf[2];
size_t dname_pos = 0;
- size_t uncompressed_length = 0;
size_t compression_pos = 0;
uint8_t tmp_dname[LDNS_MAX_DOMAINLEN];
unsigned int pointer_count = 0;
@@ -120,7 +119,6 @@
return LDNS_STATUS_DOMAINNAME_OVERFLOW;
}
memcpy(&tmp_dname[dname_pos], &wire[*pos], label_size);
- uncompressed_length += label_size + 1;
dname_pos += label_size;
*pos = *pos + label_size;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 4, 6:52 AM (1 m, 1 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35947270
Default Alt Text
D40695.diff (598 B)
Attached To
Mode
D40695: ldns: Remove a set but unused variable.
Attached
Detach File
Event Timeline
Log In to Comment