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.
Kinsey On Thu, Jan 4, 2024 at 12:54 PM <berndmoessne...@gmail.com> wrote: > From: Bernd Moessner <berndmoessne...@gmail.com> > > --- > rtemslwip/common/sys_arch.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rtemslwip/common/sys_arch.c b/rtemslwip/common/sys_arch.c > index 2651c9c..b97404c 100644 > --- a/rtemslwip/common/sys_arch.c > +++ b/rtemslwip/common/sys_arch.c > @@ -372,7 +372,7 @@ sys_request_irq(unsigned int irqnum, sys_irq_handler_t > handler, > sys_prot_t > sys_arch_protect() > { > - sys_prot_t pval; > + sys_prot_t pval = 0; > > #if RTEMS_SMP > rtems_recursive_mutex_lock( &sys_arch_lock ); > -- > 2.34.1 > > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel >
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel