projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91c8955
)
VESA: suppress an unused arguments warning
author
H. Peter Anvin
<hpa@zytor.com>
Thu, 14 Feb 2008 08:02:43 +0000
(
00:02
-0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Thu, 14 Feb 2008 08:02:43 +0000
(
00:02
-0800)
Suppress a warning about unused arguments.
com32/lib/sys/vesa/fmtpixel.c
patch
|
blob
|
history
diff --git
a/com32/lib/sys/vesa/fmtpixel.c
b/com32/lib/sys/vesa/fmtpixel.c
index
fc2732e
..
0b80197
100644
(file)
--- 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! */
}