diff options
author | Alex Richardson <alexrichardson@google.com> | 2023-03-10 14:27:01 +0000 |
---|---|---|
committer | Travis Geiselbrecht <travisg@gmail.com> | 2023-04-23 17:23:31 -0700 |
commit | 6b29ec9223d6237005a55b41db0255b90cfe59b4 (patch) | |
tree | 1d6669447e28dc14ea70deffca1fddf148e667df | |
parent | b8ae41a295cffd3fa96293a7ec12547df714ab28 (diff) | |
download | lk-6b29ec9223d6237005a55b41db0255b90cfe59b4.tar.gz |
[clang] Silence unused private member warning
We could also remove this variable, but it seems best to keep it to
retain the same struct layout.
-rw-r--r-- | dev/bus/pci/backend/ecam.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/bus/pci/backend/ecam.h b/dev/bus/pci/backend/ecam.h index 039cd46d..1786370b 100644 --- a/dev/bus/pci/backend/ecam.h +++ b/dev/bus/pci/backend/ecam.h @@ -32,7 +32,7 @@ private: status_t initialize(); paddr_t base_; - uint16_t segment_; + __UNUSED uint16_t segment_; uint16_t start_bus_; uint16_t end_bus_; |