Commit 1a12aace authored by Ricardo Filipe's avatar Ricardo Filipe Committed by Alexandre Julliard

cabinet: Fix dead stores (llvm/clang).

parent 3d384f17
......@@ -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;
}
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment