[PATCH] mscms: Added missing breaks (Coverity)

Marcus Meissner marcus at jet.franken.de
Sat Apr 2 02:36:56 CDT 2011


Hi,

break;s were obviously missing here.

Ciao, Marcus
---
 dlls/mscms/transform.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/dlls/mscms/transform.c b/dlls/mscms/transform.c
index 49230ec..a5b3486 100644
--- a/dlls/mscms/transform.c
+++ b/dlls/mscms/transform.c
@@ -384,6 +384,7 @@ BOOL WINAPI TranslateColors( HTRANSFORM handle, PCOLOR in, DWORD count,
             ret = FALSE;
             break;
         }
+        break;
     }
     case COLOR_Lab:
     {
@@ -399,6 +400,7 @@ BOOL WINAPI TranslateColors( HTRANSFORM handle, PCOLOR in, DWORD count,
             ret = FALSE;
             break;
         }
+        break;
     }
     case COLOR_GRAY:
     {
@@ -414,6 +416,7 @@ BOOL WINAPI TranslateColors( HTRANSFORM handle, PCOLOR in, DWORD count,
             ret = FALSE;
             break;
         }
+        break;
     }
     case COLOR_CMYK:
     {
@@ -429,6 +432,7 @@ BOOL WINAPI TranslateColors( HTRANSFORM handle, PCOLOR in, DWORD count,
             ret = FALSE;
             break;
         }
+        break;
     }
     case COLOR_XYZ:
     {
@@ -444,6 +448,7 @@ BOOL WINAPI TranslateColors( HTRANSFORM handle, PCOLOR in, DWORD count,
             ret = FALSE;
             break;
         }
+        break;
     }
     default:
         FIXME("unhandled input/output pair: %d/%d\n", input_type, output_type);
-- 
1.7.3.4



More information about the wine-patches mailing list