Marcus Meissner : usp10: Added missing break (Coverity).

Alexandre Julliard julliard at winehq.org
Mon Aug 19 14:32:59 CDT 2013


Module: wine
Branch: master
Commit: 90117bd1753acf3e4264d3f12e9c902572abb8ec
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=90117bd1753acf3e4264d3f12e9c902572abb8ec

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sat Aug 17 09:37:15 2013 +0200

usp10: Added missing break (Coverity).

---

 dlls/usp10/breaking.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/usp10/breaking.c b/dlls/usp10/breaking.c
index 6e044b2..2f80f9a 100644
--- a/dlls/usp10/breaking.c
+++ b/dlls/usp10/breaking.c
@@ -97,6 +97,7 @@ void BREAK_line(const WCHAR *chars, int count, const SCRIPT_ANALYSIS *sa, SCRIPT
                 break;
             case b_CM:
                 la[i].fCharStop = FALSE;
+                break;
         }
     }
 
@@ -111,8 +112,10 @@ void BREAK_line(const WCHAR *chars, int count, const SCRIPT_ANALYSIS *sa, SCRIPT
             case b_SG:
             case b_XX:
                 break_class[i] = b_AL;
+                break;
             case b_CJ:
                 break_class[i] = b_NS;
+                break;
         }
     }
 




More information about the wine-cvs mailing list