aboutsummaryrefslogtreecommitdiff
path: root/src/configparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configparser.cpp')
-rw-r--r--src/configparser.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/configparser.cpp b/src/configparser.cpp
index fc4be52ff..2f84b971a 100644
--- a/src/configparser.cpp
+++ b/src/configparser.cpp
@@ -43,15 +43,13 @@ struct FilePosition
std::string name;
// The line of the file that this position points to.
- unsigned int line;
+ unsigned int line = 1;
// The column of the file that this position points to.
- unsigned int column;
+ unsigned int column = 1;
FilePosition(const std::string& Name)
: name(Name)
- , line(1)
- , column(1)
{
}