Skip to content

Commit 45ff802

Browse files
malespiautmetux
authored andcommitted
dix: _colormap_find_resource(): fix -Wunused-parameter warning
Signed-off-by: Marc-Alexandre Espiaut <[email protected]>
1 parent 0588be6 commit 45ff802

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dix/colormap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2521,6 +2521,7 @@ struct colormap_lookup_data {
25212521
static void
25222522
_colormap_find_resource(void *value, XID id, void *cdata)
25232523
{
2524+
(void) id;
25242525
struct colormap_lookup_data *cmap_data = cdata;
25252526
VisualPtr visuals = cmap_data->visuals;
25262527
ScreenPtr pScreen = cmap_data->pScreen;

0 commit comments

Comments
 (0)