<div dir="ltr"><div dir="ltr">Dear Jakob,</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 2, 2019 at 1:14 PM Jakob Bohm via openssl-users <<a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 02/01/2019 10:41, Matt Caswell wrote:<br>
><br>
> On 27/12/2018 08:37, Dmitry Belyavsky wrote:<br>
>> Hello,<br>
>><br>
>> Am I right supposing that local variables tmp1, tmp2, iv1, and iv2 are unused in<br>
>> this function?<br>
> Looks that way. They should be removed.<br>
><br>
<br>
By the way, why aren't any of your test compilers configured to<br>
warn about unused local variables?  It's a common feature in many<br>
compilers and thus a free consistency check that can catch typos.<br>
<br>
Of cause doing so requires establishing a coding standard for how<br>
to silence such warnings where a local variable is used only in<br>
conditionally compiled code.<br></blockquote><div><br></div><div>I think that compiler treats them as used, because buffers are static and cleansed at the end of the function.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">SY, Dmitry Belyavsky</div></div>