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
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
Unknown Object (File)
Nov 7 2024, 9:38 AM
Unknown Object (File)
Nov 5 2024, 8:25 AM
Unknown Object (File)
Sep 30 2024, 9:12 AM
Unknown Object (File)
Sep 30 2024, 7:37 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