Page MenuHomeFreeBSD

libldns: Silence -Wunused-but-set-variable for wire2host.c.
AbandonedPublic

Authored by jhb on Jun 20 2023, 4:34 PM.
Tags
None
Referenced Files
F108433218: D40665.id123540.diff
Fri, Jan 24, 5:47 PM
Unknown Object (File)
Fri, Jan 17, 3:28 PM
Unknown Object (File)
Wed, Jan 15, 5:27 PM
Unknown Object (File)
Fri, Jan 10, 11:00 AM
Unknown Object (File)
Sun, Jan 5, 1:34 AM
Unknown Object (File)
Tue, Dec 31, 2:06 AM
Unknown Object (File)
Sat, Dec 28, 4:25 PM
Unknown Object (File)
Nov 29 2024, 2:16 AM
Subscribers

Details

Reviewers
des
Summary

Presumably this will be fixed upstream eventually.

contrib/ldns/wire2host.c:62:9: error: variable 'uncompressed_length' set but not used [-Werror,-Wunused-but-set-variable]

size_t uncompressed_length = 0;
       ^

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52200
Build 49091: arc lint + arc unit