vnc: silence unused warning

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2024-07-24 20:06:24 +04:00
parent 44121f6a76
commit 912e945758

View File

@ -220,7 +220,7 @@ impl Client {
async fn handle_event(&mut self, event: Option<Event>) -> Result<bool, Box<dyn Error>> {
match event {
Some(Event::Vnc(e)) => self.handle_vnc_event(e).await?,
Some(Event::ConsoleUpdate(_)) => {
Some(Event::ConsoleUpdate(_rect)) => {
self.has_update = true;
}
Some(Event::Disconnected) => {