]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix 'warning: struct `UnusedStruct` is never constructed' warning 16166/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 23 Sep 2025 10:18:30 +0000 (12:18 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 23 Sep 2025 10:18:59 +0000 (12:18 +0200)
commit7b4856e915e32ddca5bc06bf71125294cb062d89
tree570afd09f9265b055f9f9d2011864c91dc2e62fe
parent090263e69744f5c5b2114bcb1c1e348506cfc341
dnsdist: Fix 'warning: struct `UnusedStruct` is never constructed' warning

```
warning: struct `UnusedStruct` is never constructed
  --> src/lib.rs:10:8
   |
10 | struct UnusedStruct {}
   |        ^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default
```

The warning that this struct was introduced to fix seems to be gone
anyway.

Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
pdns/dnsdistdist/dnsdist-rust-lib/rust-pre-in.rs