From 0086f320870da5ef961328399cedbf9566d0cbeb Mon Sep 17 00:00:00 2001 From: Robbbert Date: Wed, 8 Sep 2021 13:01:00 +1000 Subject: a2sd: warning: 'unused' attribute directive ignored [-Wattributes] --- src/devices/bus/a2bus/a2sd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/devices/bus/a2bus/a2sd.cpp b/src/devices/bus/a2bus/a2sd.cpp index c5c9937caaf..7a5208e473f 100644 --- a/src/devices/bus/a2bus/a2sd.cpp +++ b/src/devices/bus/a2bus/a2sd.cpp @@ -36,7 +36,7 @@ static constexpr u8 C0N1_ECE = 0x04; // external clock: toggles between 500 kHz internal clock and 1/2 of the 7M A2 bus clock static constexpr u8 C0N1_FRX = 0x10; // fast recieve: when enabled, both reads and writes of the SPI data register start a shift cycle -[[unused]] static constexpr u8 C0N1_BSY = 0x20; +[[maybe_unused]] static constexpr u8 C0N1_BSY = 0x20; static constexpr u8 C0N1_TC = 0x80; // SPI transfer complete static constexpr u8 C0N3_CD = 0x40; // card detect -- cgit v1.2.3