Skip to contentSkip to conversation

vnc: Remove the superfluous break

PATCH In review Yi Wang 2 participants 2 messages Jul 13, 2020 – Jul 14, 2020

lore
Share & tools
lore

Yi Wang

author
#0 lore raw

PATCH 1/1 vnc: Remove the superfluous break

From: Liao Pingfang <[email protected]>

Remove the superfluous break, as there is a "return" before.

---
 ui/vnc-enc-tight.c | 1 -
 1 file changed, 1 deletion(-)
ui/vnc-enc-tight.c +0 -1
index 1e08518..cebd358 100644
@@ -1125,7 +1125,6 @@ static int send_palette_rect(VncState *vs, int x, int y,
     }
     default:
         return -1; /* No palette for 8bits colors */
-        break;
     }
     bytes = w * h;
     vs->tight->tight.offset = bytes;
Signature · 1 line
2.9.5