cabinet: Fix dead stores (llvm/clang).

oldstable
Ricardo Filipe 2008-11-12 22:50:09 +00:00 committed by Alexandre Julliard
parent 3d384f172c
commit 1a12aace57
2 changed files with 2 additions and 2 deletions

View File

@ -462,7 +462,7 @@ static cab_ULONG fci_get_checksum(const void *pv, UINT cb, CHECKSUM seed)
case 2:
ul |= (((ULONG)(*pb++)) << 8);
case 1:
ul |= *pb++;
ul |= *pb;
default:
break;
}

View File

@ -2830,7 +2830,7 @@ BOOL __cdecl FDICopy(
if (file->offset > CAB(offset)) {
/* decode bytes and send them to /dev/null */
switch ((err = fdi_decomp(file, 0, decomp_state, pszCabPath, pfnfdin, pvUser))) {
switch (fdi_decomp(file, 0, decomp_state, pszCabPath, pfnfdin, pvUser)) {
case DECR_OK:
break;
case DECR_USERABORT: