<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
&gt; Date: Tue, 18 Nov 2008 10:17:46 +0100<BR>&gt; From: meissner@suse.de<BR>&gt; To: dmitry@codeweavers.com<BR>&gt; CC: ricardo_barbano@hotmail.com; wine-devel@winehq.org<BR>&gt; Subject: Re: dlls/cabinet: fix dead stores (llvm/clang)<BR>&gt; <BR>&gt; On Tue, Nov 18, 2008 at 03:11:52PM +0800, Dmitry Timoshkov wrote:<BR>&gt; &gt; "ricardo filipe" &lt;ricardo_barbano@hotmail.com&gt; wrote:<BR>&gt; &gt; <BR>&gt; &gt; &gt; --- a/dlls/cabinet/fci.c<BR>&gt; &gt; &gt; +++ b/dlls/cabinet/fci.c<BR>&gt; &gt; &gt; @@ -462,7 +462,7 @@ static cab_ULONG fci_get_checksum(const void *pv, UINT cb, CHECKSUM seed)<BR>&gt; &gt; &gt; case 2:<BR>&gt; &gt; &gt; ul |= (((ULONG)(*pb++)) &lt;&lt; 8);<BR>&gt; &gt; &gt; case 1:<BR>&gt; &gt; &gt; - ul |= *pb++;<BR>&gt; &gt; &gt; + ul |= *pb;<BR>&gt; &gt; &gt; default:<BR>&gt; &gt; &gt; break;<BR>&gt; &gt; &gt; }<BR>&gt; &gt; <BR>&gt; &gt; Is there any reason that you ignored 2 similar cases above?<BR>&gt; <BR>&gt; Yes, because it would be wrong ... Its a Duffs Device, falling through<BR>&gt; to the last case. The other pb++ are necessary.<BR>&gt; <BR>&gt; Ciao, Marcus<BR>
&nbsp;<BR>
yes only the last one is dead. although i have to ask you guys, today i think i messed up on this one and it's a false positive, because at the beggining pb = pv.<BR>
so it will affect the pv and this shouldn't be applied right?<BR><BR><br /><hr />Conhe�a j� o Windows Live Spaces, o site de relacionamentos do Messenger! <a href='http://www.amigosdomessenger.com.br' target='_new'>Crie j� o seu!</a></body>
</html>