virtual-image: Fix compilation with -Wswitch-enum

This commit is contained in:
Benjamin Berg 2021-04-29 14:29:31 +02:00 committed by Benjamin Berg
parent 7e02f3faf9
commit e9dddcc87a

View file

@ -197,6 +197,9 @@ on_listener_connected (FpiDeviceVirtualListener *listener,
case FPI_IMAGE_DEVICE_STATE_AWAIT_FINGER_OFF: case FPI_IMAGE_DEVICE_STATE_AWAIT_FINGER_OFF:
recv_image (self); recv_image (self);
case FPI_IMAGE_DEVICE_STATE_INACTIVE:
case FPI_IMAGE_DEVICE_STATE_ACTIVATING:
case FPI_IMAGE_DEVICE_STATE_DEACTIVATING:
default: default:
break; break;
} }