Skip to content
Commit 1d9086bf authored by Sven van Haastregt's avatar Sven van Haastregt
Browse files

Fix use of uninitialized member in constructor



The constructor does `Saver(Alloc)`, so `Alloc` should be
initialized first.  Move `Alloc` up in the declaration order.

Fixes a -Wuninitialized warning when building with GCC 12.1.

Reported-by: default avatarMihail Atanassov <mihail.atanassov@arm.com>
parent 2db2a4e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment