[Spice-devel] [PATCH spice-html5 1/5] display.js: Remove unreachable return

Pavel Grunt pgrunt at redhat.com
Mon Sep 7 07:38:31 PDT 2015


---
 display.js | 2 --
 1 file changed, 2 deletions(-)

diff --git a/display.js b/display.js
index 7938527..00f2903 100644
--- a/display.js
+++ b/display.js
@@ -171,8 +171,6 @@ SpiceDisplayConn.prototype.process_channel_message = function(msg)
                       has_alpha: this.surfaces[draw_copy.data.src_bitmap.surface_id].format == SPICE_SURFACE_FMT_32_xRGB ? false : true,
                       descriptor : draw_copy.data.src_bitmap.descriptor
                     });
-
-                return true;
             }
             else if (draw_copy.data.src_bitmap.descriptor.type == SPICE_IMAGE_TYPE_JPEG)
             {
-- 
2.5.0



More information about the Spice-devel mailing list