Commit e877fcb0 authored by Eric Engestrom's avatar Eric Engestrom

drm-legacy.c: suppress 'unused parameter' warnings

Signed-off-by: 's avatarEric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
parent 0b18f36d
......@@ -33,6 +33,9 @@ static struct drm drm;
static void page_flip_handler(int fd, unsigned int frame,
unsigned int sec, unsigned int usec, void *data)
{
/* suppress 'unused parameter' warnings */
(void)fd, (void)frame, (void)sec, (void)usec;
int *waiting_for_flip = data;
*waiting_for_flip = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment