Thread (3 messages) 3 messages, 2 authors, 2023-07-05

Re: [PATCH v2] Initialize ticks in benchmark()

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2023-07-05 09:48:57

On Wed, Jul 5, 2023 at 11:46 AM Geert Uytterhoeven [off-list ref] wrote:
On Wed, Jul 5, 2023 at 11:30 AM Philipp Zabel [off-list ref] wrote:
quoted
Fixes a build error due to a false positive possible uninitialized use
warning with GCC 13:

  util.c: In function 'benchmark':
  util.c:177:17: error: 'ticks' may be used uninitialized [-Werror=maybe-uninitialized]
  util.c:161:14: note: 'ticks' was declared here

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Thanks, applied.
Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help