diff options
author | Bernd Moessner <berndmoessner80@gmail.com> | 2024-01-03 19:22:07 +0100 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2024-01-05 11:29:38 -0600 |
commit | f1479f8bca78ccd59d1c3f82d017177cf9332ad9 (patch) | |
tree | 5aaa4ff2c577e570cfff62eba022bba7950502e7 | |
parent | defs/zynqmp: Remove unused include paths (diff) | |
download | rtems-lwip-f1479f8bca78ccd59d1c3f82d017177cf9332ad9.tar.bz2 |
rtemslwip/sys_arch.c: Initialize variable
This silences a warning that isn't actually a bug since the variable is
set before use under a few layers of macro calls.
-rw-r--r-- | rtemslwip/common/sys_arch.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |