--------------- static LRESULT LISTVIEW_GetColumnWidth(LISTVIEW_INFO *infoPtr, INT nColumn) { INT nColumnWidth = 0; HDITEMW hdi;
TRACE("nColumn=%d\n", nColumn);
switch(infoPtr->dwStyle & LVS_TYPEMASK) { case LVS_LIST: nColumnWidth = infoPtr->nItemWidth; break; case LVS_REPORT: hdi.mask = HDI_WIDTH; if (Header_GetItemW(infoPtr->hwndHeader, nColumn, &hdi)) nColumnWidth = hdi.cxy; break; default: /* we don't have a 'column' in [SMALL]ICON mode */ } --------------
gcc3.2 tells me this is depreciated "label at end of compount statement". IOW, I presume it wants a "break;" after the "default:" label.