This allows us to separate accidental fall through from explicit ones,
which allows us to turn on such checks in the compiler.
writePublicKey();
writeRandom();
state = ReadRandom;
+ /* fall through */
case ReadRandom:
if (!readRandom())
return false;
setCipher();
writeHash();
state = ReadHash;
+ /* fall through */
case ReadHash:
if (!readHash())
return false;
clearSecrets();
state = ReadSubtype;
+ /* fall through */
case ReadSubtype:
if (!readSubtype())
return false;
break;
case subsampleGray:
jpeg_set_colorspace(cinfo, JCS_GRAYSCALE);
+ // fall through
default:
cinfo->comp_info[0].h_samp_factor = 1;
cinfo->comp_info[0].v_samp_factor = 1;
case 32:
p |= ((Pixel)*(buffer++)) << 24;
p |= ((Pixel)*(buffer++)) << 16;
+ /* fall through */
case 16:
p |= ((Pixel)*(buffer++)) << 8;
+ /* fall through */
case 8:
p |= *buffer;
}
case 32:
*(buffer++) = (p >> 24) & 0xff;
*(buffer++) = (p >> 16) & 0xff;
+ /* fall through */
case 16:
*(buffer++) = (p >> 8) & 0xff;
+ /* fall through */
case 8:
*(buffer++) = (p >> 0) & 0xff;
}
case FL_ENTER:
if (keyboardGrabbed)
grabPointer();
+ /* fall through */
case FL_LEAVE:
case FL_DRAG:
case FL_MOVE:
case secTypeRA2ne:
case secTypeRAne256:
authVncCheckbox->value(true);
+ /* fall through */
case secTypeDH:
case secTypeMSLogonII:
encNoneCheckbox->value(true);
return thread.server.disconnectClients("IPC disconnect") ? 1 : 0;
case 3:
thread.server.setClientsStatus(&CPanel->ListConnStatus);
+ /* fall through */
case 4:
thread.server.getClientsInfo(&LCInfo);
CPanel->UpdateListView(&LCInfo);