forked from qt-creator/qt-creator
Some clang-tidy -use-modernize-nullptr
Change-Id: I1bed5e85a5b7948d08502a72a10f80baa075c204 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user