<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">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">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">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>