aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/sourceutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/sourceutils.cpp')
-rw-r--r--src/plugins/debugger/sourceutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/sourceutils.cpp b/src/plugins/debugger/sourceutils.cpp
index 993041858f..1184749c4e 100644
--- a/src/plugins/debugger/sourceutils.cpp
+++ b/src/plugins/debugger/sourceutils.cpp
@@ -205,8 +205,8 @@ int getUninitializedVariablesI(const Snapshot &snapshot,
return 4;
// First figure out the function to do a safety name check
// and the innermost scope at cursor position
- const Function *function = 0;
- const Scope *innerMostScope = 0;
+ const Function *function = nullptr;
+ const Scope *innerMostScope = nullptr;
if (symbolAtLine->isFunction()) {
function = symbolAtLine->asFunction();
if (function->memberCount() == 1) // Skip over function block