cabinet: Fix dead stores (llvm/clang).
This commit is contained in:
parent
3d384f172c
commit
1a12aace57
|
@ -462,7 +462,7 @@ static cab_ULONG fci_get_checksum(const void *pv, UINT cb, CHECKSUM seed)
|
||||||
case 2:
|
case 2:
|
||||||
ul |= (((ULONG)(*pb++)) << 8);
|
ul |= (((ULONG)(*pb++)) << 8);
|
||||||
case 1:
|
case 1:
|
||||||
ul |= *pb++;
|
ul |= *pb;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2830,7 +2830,7 @@ BOOL __cdecl FDICopy(
|
||||||
|
|
||||||
if (file->offset > CAB(offset)) {
|
if (file->offset > CAB(offset)) {
|
||||||
/* decode bytes and send them to /dev/null */
|
/* 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:
|
case DECR_OK:
|
||||||
break;
|
break;
|
||||||
case DECR_USERABORT:
|
case DECR_USERABORT:
|
||||||
|
|
Loading…
Reference in New Issue