msvcrt: Mark some fall-throughs in a switch statement.

This commit is contained in:
Andrew Talbot 2011-10-07 21:24:51 +01:00 committed by Alexandre Julliard
parent bf4456df60
commit 2df8dced84
1 changed files with 4 additions and 0 deletions

View File

@ -1151,6 +1151,7 @@ char* CDECL MSVCRT_setlocale(int category, const char* locale)
if(category != MSVCRT_LC_ALL)
break;
/* fall through */
case MSVCRT_LC_CTYPE:
locinfo->lc_handle[MSVCRT_LC_CTYPE] =
loc->locinfo->lc_handle[MSVCRT_LC_CTYPE];
@ -1175,6 +1176,7 @@ char* CDECL MSVCRT_setlocale(int category, const char* locale)
if(category != MSVCRT_LC_ALL)
break;
/* fall through */
case MSVCRT_LC_MONETARY:
locinfo->lc_handle[MSVCRT_LC_MONETARY] =
loc->locinfo->lc_handle[MSVCRT_LC_MONETARY];
@ -1208,6 +1210,7 @@ char* CDECL MSVCRT_setlocale(int category, const char* locale)
if(category != MSVCRT_LC_ALL)
break;
/* fall through */
case MSVCRT_LC_NUMERIC:
locinfo->lc_handle[MSVCRT_LC_NUMERIC] =
loc->locinfo->lc_handle[MSVCRT_LC_NUMERIC];
@ -1225,6 +1228,7 @@ char* CDECL MSVCRT_setlocale(int category, const char* locale)
if(category != MSVCRT_LC_ALL)
break;
/* fall through */
case MSVCRT_LC_TIME:
locinfo->lc_handle[MSVCRT_LC_TIME] =
loc->locinfo->lc_handle[MSVCRT_LC_TIME];