diff --git a/dix/colormap.c b/dix/colormap.c index b7ce8da5e..8dbeed4dc 100644 --- a/dix/colormap.c +++ b/dix/colormap.c @@ -1261,6 +1261,7 @@ FindBestPixel(EntryPtr pentFirst, int size, xrgb * prgb, int channel) case PSEUDOMAP: dg = (long) pent->co.local.green - prgb->green; db = (long) pent->co.local.blue - prgb->blue; + /* fallthrough */ case REDMAP: dr = (long) pent->co.local.red - prgb->red; break;