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)
Thu, Nov 7, 9:38 AM
Unknown Object (File)
Tue, Nov 5, 8:25 AM
Unknown Object (File)
Sep 30 2024, 9:12 AM
Unknown Object (File)
Sep 30 2024, 7:37 AM
Unknown Object (File)
Sep 20 2024, 1:36 PM
Unknown Object (File)
Sep 15 2024, 6:57 AM
Unknown Object (File)
Sep 9 2024, 1:23 PM
Unknown Object (File)
Sep 9 2024, 6:13 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