Piotr Caban : msvcp90: Add missing break in time_get::do_get (coverity).

Alexandre Julliard julliard at winehq.org
Mon Nov 26 16:20:09 CST 2018


Module: wine
Branch: master
Commit: 37fce369890da3c9d32d4e44fef868c9166388ab
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=37fce369890da3c9d32d4e44fef868c9166388ab

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Sun Nov 25 16:12:37 2018 +0100

msvcp90: Add missing break in time_get::do_get (coverity).

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msvcp90/locale.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/msvcp90/locale.c b/dlls/msvcp90/locale.c
index f885068..068e81e 100644
--- a/dlls/msvcp90/locale.c
+++ b/dlls/msvcp90/locale.c
@@ -10514,6 +10514,7 @@ istreambuf_iterator_char* __thiscall time_get_char_do_get(const time_get_char *t
     case 'n':
     case 't':
         skip_ws_char(ctype, &s);
+        break;
     case 'p': {
         BOOL pm = FALSE;
 
@@ -11414,6 +11415,7 @@ istreambuf_iterator_wchar* __thiscall time_get_wchar_do_get(const time_get_wchar
     case 'n':
     case 't':
         skip_ws_wchar(ctype, &s);
+        break;
     case 'p': {
         BOOL pm = FALSE;
 




More information about the wine-cvs mailing list