diff options
| author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2022-07-07 12:05:24 +0100 | 
|---|---|---|
| committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2022-07-07 12:05:24 +0100 | 
| commit | 1d9086bf054c2e734940620d02d4451156b424e6 (patch) | |
| tree | 43f343e2e05d1853c954394a13125451e8fd7292 /lldb/packages/Python/lldbsuite/test/configuration.py | |
| parent | 2db2a4e112406e97bad82b8e78492a472c13588e (diff) | |
| download | llvm-1d9086bf054c2e734940620d02d4451156b424e6.zip llvm-1d9086bf054c2e734940620d02d4451156b424e6.tar.gz llvm-1d9086bf054c2e734940620d02d4451156b424e6.tar.bz2 | |
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: Mihail Atanassov <mihail.atanassov@arm.com>
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions
