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
F175919372: D40665.diff
Wed, Oct 14, 12:11 PM
F175876986: D40665.id123540.diff
Wed, Oct 14, 3:09 AM
Unknown Object (File)
Sat, Oct 10, 11:29 PM
Unknown Object (File)
Sat, Oct 10, 8:06 AM
Unknown Object (File)
Thu, Oct 8, 11:45 PM
Unknown Object (File)
Tue, Oct 6, 4:18 PM
Unknown Object (File)
Wed, Sep 30, 11:51 AM
Unknown Object (File)
Tue, Sep 29, 10:35 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