diff options
author | Dmitry Yanovsky <kerambyte@gmail.com> | 2024-08-20 02:53:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-20 10:53:41 +0900 |
commit | 52bfb2611f8d30fae3306c652af7ba5c7e88c147 (patch) | |
tree | 15c2766f77889b82a90fc601661f4e377a76d7d1 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | d3864d946a178807bb5a87d3d1690e213c89e5be (diff) | |
download | llvm-52bfb2611f8d30fae3306c652af7ba5c7e88c147.zip llvm-52bfb2611f8d30fae3306c652af7ba5c7e88c147.tar.gz llvm-52bfb2611f8d30fae3306c652af7ba5c7e88c147.tar.bz2 |
[ADT] Fix a minor build error (#104840)
A quick follow-up fix for
https://github.com/llvm/llvm-project/pull/99403
Buildbot
[reported](https://lab.llvm.org/buildbot/#/builders/168/builds/2330) an
error:
```
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/ADT/FunctionExtrasTest.cpp:320:8: error: variable 'ptr' is uninitialized when used here [-Werror,-Wuninitialized]
320 | [ptr](void *self) {
| ^~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/ADT/FunctionExtrasTest.cpp:318:12: note: initialize the variable 'ptr' to silence this warning
318 | void *ptr;
| ^
| = nullptr
1 error generated.
```
So that PR does exactly what's sugested.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions