<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">> We have a Clang warning for this - I would like to know why that didn't catch it? Are we not building this with -Wreturn-type?</span><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><font face="arial, sans-serif">Currently we don't compile our tests with any warning flags. I'm not sure if it was just too noisy but looking at other defects</font></div><div><font face="arial, sans-serif">Coverity found its clear we need to enable at least some of them. There are a bunch of assignments that should be comparisons as well.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">/Eric</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 23, 2014 at 1:33 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class=""><br><div class="gmail_quote">On Fri, Aug 22, 2014 at 11:36 PM, Eric Fiselier <span dir="ltr"><<a href="mailto:eric@efcs.ca" target="_blank">eric@efcs.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="overflow:hidden">Add return statement to a test class's assignment operator. Defect found by Coverity Scan.<br></div></blockquote></div><br></div>We have a Clang warning for this - I would like to know why that didn't catch it? Are we not building this with -Wreturn-type?</div>

</div>
</blockquote></div><br></div>