From 4e5eea80bcfff2f4775858ee58f7d67d2a5396d0 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 14 Feb 2008 00:02:43 -0800 Subject: [PATCH] VESA: suppress an unused arguments warning Suppress a warning about unused arguments. --- com32/lib/sys/vesa/fmtpixel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/com32/lib/sys/vesa/fmtpixel.c b/com32/lib/sys/vesa/fmtpixel.c index fc2732e..0b80197 100644 --- a/com32/lib/sys/vesa/fmtpixel.c +++ b/com32/lib/sys/vesa/fmtpixel.c @@ -44,6 +44,7 @@ static const void * format_pxf_bgra32(void *ptr, const uint32_t *p, size_t n) { + (void)ptr; (void)n; return p; /* No conversion needed! */ } -- 2.7.4