[Spice-devel] [PATCH 1/1] server: Add missing break in switch case

alexl at redhat.com alexl at redhat.com
Wed Aug 25 04:40:22 PDT 2010


From: Alexander Larsson <alexl at redhat.com>

---
 server/red_worker.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/red_worker.c b/server/red_worker.c
index 2ce15f5..043aa36 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -5212,6 +5212,7 @@ static BitmapGradualType _get_bitmap_graduality_level(RedWorker *worker, SpiceBi
         case SPICE_BITMAP_FMT_16BIT:
             compute_lines_gradual_score_rgb16((rgb16_pixel_t *)chunk[i].data, x, num_lines,
                                               &chunk_score, &chunk_num_samples);
+            break;
         case SPICE_BITMAP_FMT_24BIT:
             compute_lines_gradual_score_rgb24((rgb24_pixel_t *)chunk[i].data, x, num_lines,
                                               &chunk_score, &chunk_num_samples);
-- 
1.7.2.1



More information about the Spice-devel mailing list