aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/analyzer/diagnosticlocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/analyzer/diagnosticlocation.h')
-rw-r--r--src/plugins/debugger/analyzer/diagnosticlocation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/analyzer/diagnosticlocation.h b/src/plugins/debugger/analyzer/diagnosticlocation.h
index 31f9036f443..5bf95bff74d 100644
--- a/src/plugins/debugger/analyzer/diagnosticlocation.h
+++ b/src/plugins/debugger/analyzer/diagnosticlocation.h
@@ -44,8 +44,8 @@ public:
QString filePath;
// Both values start at 1.
- int line;
- int column;
+ int line = 0;
+ int column = 0;
};
DEBUGGER_EXPORT bool operator==(const DiagnosticLocation &first, const DiagnosticLocation &second);