Re: grlib changes Fwd: New Defects reported by Coverity Scan for RTEMS

2023-07-17 Thread Joel Sherrill
On Mon, Jul 17, 2023 at 1:15 PM Gedare Bloom wrote: > Sebastian fixed it now. The local variable was shadowed. Another good > reason to keep local variables at the start of a function ;) > +1 The first time I saw GCC spit this warning out was for some particularly horrible code. It had shadowed

Re: grlib changes Fwd: New Defects reported by Coverity Scan for RTEMS

2023-07-17 Thread Gedare Bloom
Sebastian fixed it now. The local variable was shadowed. Another good reason to keep local variables at the start of a function ;) On Sat, Jul 15, 2023 at 9:38 AM Joel Sherrill wrote: > > > The recent grlib changes introduced a Coverity issues. > > -- Forwarded message - > From:

grlib changes Fwd: New Defects reported by Coverity Scan for RTEMS

2023-07-15 Thread Joel Sherrill
The recent grlib changes introduced a Coverity issues. -- Forwarded message - From: Date: Sat, Jul 15, 2023 at 12:22 AM Subject: New Defects reported by Coverity Scan for RTEMS To: Hi, Please find the latest report on new defect(s) introduced to RTEMS found with Coverity Scan.