aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.cpp b/sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.cpp
index 3c002da9c..7c6996373 100644
--- a/sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.cpp
+++ b/sources/shiboken6/ApiExtractor/clangparser/clangdebugutils.cpp
@@ -146,10 +146,10 @@ QDebug operator<<(QDebug s, const CXSourceLocation &location)
{
QDebugStateSaver saver(s);
s.nospace();
- CXFile file; // void *
- unsigned line;
- unsigned column;
- unsigned offset;
+ CXFile file{}; // void *
+ unsigned line{};
+ unsigned column{};
+ unsigned offset{};
clang_getExpansionLocation(location, &file, &line, &column, &offset);
const CXString cxFileName = clang_getFileName(file);
// Has been observed to be 0 for invalid locations