[PATCH 2/2] testsuites/dhrystone: Initialize before use

Kinsey Moore kinsey.moore at oarcorp.com
Fri Mar 1 14:20:50 UTC 2024


A very similar change was made in 2017 to resolve the same warning for a
different variable. The only real difference is that it is wrapped in
__rtems__ ifdefs. I can move this change to the #ifdef'd section if that's
preferable.

Kinsey

On Fri, Mar 1, 2024 at 1:02 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 28.02.24 19:15, Kinsey Moore wrote:
> > This resovles a warning where a variable could be used before it is
> > initialized in some code paths.
>
> I am not sure if we should modify benchmark code.
>
> --
> embedded brains GmbH & Co. KG
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20240301/9e121588/attachment.htm>


More information about the devel mailing list