diff --git a/dix/colormap.c b/dix/colormap.c index b19adc0f1..6ae8b1649 100644 --- a/dix/colormap.c +++ b/dix/colormap.c @@ -1257,6 +1257,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;