summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
authorZhongjie Zhu <zhongjiezhu1@gmail.com>2023-01-16 16:36:54 +0800
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-02-07 17:45:24 +0100
commitebb9e8c0a601bd089a56f637ed22a6be14ae8042 (patch)
tree14f8111bc76314b917f00928ae92f8fc4fdec16b /cpukit/libfs
parentspec/bsps: Deduplicate objxilinxsupport (diff)
downloadrtems-master.tar.bz2
score: Fix maybe uninitialized warningHEADmaster
There are different cases for _ISR_lock_ISR_disable() and _ISR_lock_ISR_enable() in the case RTEMS_SMP is defined or RTEMS_PROFILING is defined, so remove the related code. ../../../cpukit/include/rtems/score/threaddispatch.h: In function '_Thread_Dispatch_disable': ../../../cpukit/include/rtems/score/threaddispatch.h:231:14: warning: 'lock_context' may be used uninitialized [-Wmaybe-uninitialized] 231 | cpu_self = _Thread_Dispatch_disable_critical( &lock_context ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../cpukit/include/rtems/score/threaddispatch.h:210:32: note: by argument 1 of type 'const ISR_lock_Context *' to '_Thread_Dispatch_disable_critical' declared here 210 | static inline Per_CPU_Control *_Thread_Dispatch_disable_critical( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../cpukit/include/rtems/score/threaddispatch.h:225:21: note: 'lock_context' declared here 225 | ISR_lock_Context lock_context; | ^~~~~~~~~~~~ Update #4662.
Diffstat (limited to 'cpukit/libfs')
0 files changed, 0 insertions, 0 deletions