git: 67f6cad3aba8 - main - coresight: Mark a variable only used in a debug trace as unused.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 00:28:09 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=67f6cad3aba890e4c16f025c082bd3ea49c2e324 commit 67f6cad3aba890e4c16f025c082bd3ea49c2e324 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-09 00:25:14 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-09 00:25:14 +0000 coresight: Mark a variable only used in a debug trace as unused. --- sys/arm64/coresight/coresight_etm4x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/coresight/coresight_etm4x.c b/sys/arm64/coresight/coresight_etm4x.c index 1b9b3ed71fd6..c587dd47b101 100644 --- a/sys/arm64/coresight/coresight_etm4x.c +++ b/sys/arm64/coresight/coresight_etm4x.c @@ -173,7 +173,7 @@ static int etm_init(device_t dev) { struct etm_softc *sc; - uint32_t reg; + uint32_t reg __unused; sc = device_get_softc(dev);