[Spice-commits] common/canvas_base.c

Pavel Grunt pgrunt at kemper.freedesktop.org
Mon Nov 23 23:32:42 PST 2015


 common/canvas_base.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 401801b5ba38ccfdc6a0873a2ae4af273c22b4f3
Author: Lukas Venhoda <lvenhoda at redhat.com>
Date:   Mon Nov 23 17:37:35 2015 +0100

    canvas_base: Remove redundant switch case block

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;


More information about the Spice-commits mailing list