kopia lustrzana https://gitlab.com/sane-project/backends
sm3600: Fix [-Wimplicit-fallthrough] warning
This fixes the warning for both #define SM3600_SUPPORT_EXPOSURE values.merge-requests/128/head
rodzic
3dde8f28f0
commit
fcd537e207
|
@ -610,14 +610,13 @@ sane_control_option (SANE_Handle handle, SANE_Int iOpt,
|
|||
case optResolution:
|
||||
case optTLX: case optTLY: case optBRX: case optBRY:
|
||||
if (pnInfo) (*pnInfo) |= SANE_INFO_RELOAD_PARAMS;
|
||||
|
||||
// fall through
|
||||
case optPreview:
|
||||
case optGrayPreview:
|
||||
#ifdef SM3600_SUPPORT_EXPOSURE
|
||||
// fall through
|
||||
case optBrightness:
|
||||
case optContrast:
|
||||
#endif
|
||||
case optPreview:
|
||||
case optGrayPreview:
|
||||
this->aoptVal[iOpt].w = *(SANE_Word*)pVal;
|
||||
break;
|
||||
case optMode:
|
||||
|
|
Ładowanie…
Reference in New Issue