Re: [PATCH v2] Initialize ticks in benchmark()
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2023-07-05 09:47:14
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2023-07-05 09:47:14
On Wed, Jul 5, 2023 at 11:30 AM Philipp Zabel [off-list ref] wrote:
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>
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