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)
Fri, Nov 29, 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
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
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