[Spice-devel] [spice-common PATCH] canvas_base: Remove redundant switch case block
Lukas Venhoda
lvenhoda at redhat.com
Mon Nov 23 08:37:35 PST 2015
---
common/canvas_base.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/common/canvas_base.c b/common/canvas_base.c
index 6f48340..6747465 100644
--- a/common/canvas_base.c
+++ b/common/canvas_base.c
@@ -1147,10 +1147,7 @@ static pixman_image_t *canvas_get_image_internal(CanvasBase *canvas, SpiceImage
break;
}
#if defined(SW_CANVAS_CACHE)
- case SPICE_IMAGE_TYPE_LZ_PLT: {
- surface = canvas_get_lz(canvas, image, want_original);
- break;
- }
+ case SPICE_IMAGE_TYPE_LZ_PLT:
case SPICE_IMAGE_TYPE_LZ_RGB: {
surface = canvas_get_lz(canvas, image, want_original);
break;
--
2.5.0
More information about the Spice-devel
mailing list