aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/shared
diff options
context:
space:
mode:
authorhjk <[email protected]>2019-07-31 17:21:41 +0200
committerhjk <[email protected]>2019-08-01 13:20:26 +0000
commit2e14df7561ee10c7a408bd3ebb4944016ecdd1f4 (patch)
tree4a220241720e8a307fb96e98941656cf7b9f940d /src/plugins/debugger/shared
parent630385751a806b64d41295ee50957e2a9138a193 (diff)
Some clang-tidy -use-modernize-nullptr
Change-Id: I1bed5e85a5b7948d08502a72a10f80baa075c204 Reviewed-by: Thomas Hartmann <[email protected]>
Diffstat (limited to 'src/plugins/debugger/shared')
-rw-r--r--src/plugins/debugger/shared/backtrace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/shared/backtrace.cpp b/src/plugins/debugger/shared/backtrace.cpp
index df2270e9bef..74e69b31437 100644
--- a/src/plugins/debugger/shared/backtrace.cpp
+++ b/src/plugins/debugger/shared/backtrace.cpp
@@ -41,7 +41,7 @@ void dumpBacktrace(int maxdepth)
if (maxdepth == -1)
maxdepth = 200;
#if defined(Q_OS_LINUX)
- void *bt[200] = {0};
+ void *bt[200] = {nullptr};
qDebug() << "BACKTRACE:";
int size = backtrace(bt, sizeof(bt) / sizeof(bt[0]));
for (int i = 0; i < qMin(size, maxdepth); i++)