<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Le 28/09/2021 à 20:01, Zebediah Figura
(she/her) a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:992fb3d3-e6dc-5a49-9ebf-3a067fdb99d5@codeweavers.com">On
9/28/21 11:49, Eric Pouech wrote:
<br>
<blockquote type="cite">Signed-off-by: Eric Pouech
<a class="moz-txt-link-rfc2396E" href="mailto:eric.pouech@gmail.com"><eric.pouech@gmail.com></a>
<br>
<br>
---
<br>
dlls/msvcrt/math.c | 2 +-
<br>
1 file changed, 1 insertion(+), 1 deletion(-)
<br>
<br>
diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c
<br>
index 7f59a4d20d4..ad632e70548 100644
<br>
--- a/dlls/msvcrt/math.c
<br>
+++ b/dlls/msvcrt/math.c
<br>
@@ -5643,7 +5643,7 @@ unsigned int CDECL _control87(unsigned int
newval, unsigned int mask)
<br>
{
<br>
unsigned int flags = 0;
<br>
#ifdef __i386__
<br>
- unsigned int sse2_cw;
<br>
+ unsigned int sse2_cw = 0;
<br>
__control87_2( newval, mask, &flags, &sse2_cw );
<br>
<br>
<br>
</blockquote>
<br>
Wouldn't it be better to check for failure from __control87_2()?
<br>
<br>
</blockquote>
unfortunately, gcc11 still complains when checking for failure of <font
face="Helvetica, Arial, sans-serif">_control87_2() </font>
<p><font face="Helvetica, Arial, sans-serif">gcc doesn't seem to be
smart enough to infer that ss2_cw is always when _control87_2()
returns 1</font></p>
<p><font face="Helvetica, Arial, sans-serif">A+</font><br>
</p>
</body>
</html>