From 947720bc20f8dcba8502e1db46ae0f180c5fa8d0 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 8 Jan 2024 14:10:39 -0800 Subject: Fix warning: ‘NVPatternROP’ defined but not used [-Wunused-const-variable=] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alan Coopersmith --- src/nv_xaa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nv_xaa.c b/src/nv_xaa.c index f1e2dd4..76f8ae4 100644 --- a/src/nv_xaa.c +++ b/src/nv_xaa.c @@ -72,6 +72,7 @@ static const int NVCopyROP_PM[16] = 0xFA /* GXset */ }; +#ifdef HAVE_XAA_H static const int NVPatternROP[16] = { 0x00, @@ -91,6 +92,7 @@ static const int NVPatternROP[16] = 0x5F, 0xFF }; +#endif void NVDmaKickoff(NVPtr pNv) -- cgit v1.2.3