diff options
author | hjk <hjk@qt.io> | 2022-06-27 09:34:12 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-06-27 10:28:51 +0000 |
commit | e1d2cbde2481f77fc9d006c63326b94440b58681 (patch) | |
tree | 2681315d5e6f9f6f274979e1f94e02b5e2a729b5 /src/plugins/python/pythonlanguageclient.cpp | |
parent | 06715441d695064e0548fa94d0cc3e325a3870a6 (diff) | |
download | qt-creator-e1d2cbde2481f77fc9d006c63326b94440b58681.tar.gz |
ElfReader: Suppress a coverity message
Add two neutral enum values mimicing what llvm/BinaryFormat/ELF.h has.
*** CID 1518686: Uninitialized variables (UNINIT)
/qt-creator/src/plugins/debugger/gdb/gdbengine.cpp: 3940 in Debugger::Internal::GdbEngine::handleGdbStarted()()
3934 // Addint executable to modules list.
3935 Module module;
3936 module.startAddress = 0;
3937 module.endAddress = 0;
3938 module.modulePath = rp.inferior.command.executable().toString();
3939 module.moduleName = "<executable>";
>>> CID 1518686: Uninitialized variables (UNINIT)
>>> Using uninitialized value "module.elfData.endian" when calling "updateModule".
Looks like a false positive, module.elfData.endian is not used
in updateModule() and surroundings.
Change-Id: Ic8071add87b1df894819d49ea55dfa705b81c3ce
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/plugins/python/pythonlanguageclient.cpp')
0 files changed, 0 insertions, 0 deletions