<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 04.01.2024 22:41, Kinsey Moore
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPycBoh8pNuOB3Oh-hACrd0ccrz7TDrJRddtrUy7NYZwOymjQQ@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>This is technically a false warning since
rtems_interrupt_disable is a macro that expands to
_ISR_Local_disable that expands to _CPU_ISR_Disable which
assigns it a value, but it doesn't hurt anything, so it's OK
to commit.</div>
<div><br>
</div>
<div>Kinsey<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Jan 4, 2024 at
12:54 PM <<a href="mailto:berndmoessner80@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">berndmoessner80@gmail.com</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">From:
Bernd Moessner <<a href="mailto:berndmoessner80@gmail.com"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">berndmoessner80@gmail.com</a>><br>
<br>
---<br>
rtemslwip/common/sys_arch.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/rtemslwip/common/sys_arch.c
b/rtemslwip/common/sys_arch.c<br>
index 2651c9c..b97404c 100644<br>
--- a/rtemslwip/common/sys_arch.c<br>
+++ b/rtemslwip/common/sys_arch.c<br>
@@ -372,7 +372,7 @@ sys_request_irq(unsigned int irqnum,
sys_irq_handler_t handler,<br>
sys_prot_t<br>
sys_arch_protect()<br>
{<br>
- sys_prot_t pval;<br>
+ sys_prot_t pval = 0;<br>
<br>
#if RTEMS_SMP<br>
rtems_recursive_mutex_lock( &sys_arch_lock );<br>
-- <br>
2.34.1<br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote>
</div>
</blockquote>
<p><br>
</p>
<p>Yes, I saw that it doesnt hurt. I get similar warnings from the
RTEMS Kernel. However, I will have to "fix" this warnings as I am
required to enable -Werror.</p>
<p>Bernd<br>
</p>
</body>
</html>