Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 24b3bc7e authored by Laurent Montel's avatar Laurent Montel 😁

Initialize variables

parent e8e4daaa
......@@ -100,7 +100,7 @@ public:
}
}
HolidayParserDriver *mDriver; // The parser driver for the holiday file
HolidayParserDriver *mDriver = nullptr; // The parser driver for the holiday file
QString mRegionCode; // region code of holiday region
QFileInfo mHolidayFile; // file containing holiday data, or null
};
......
......@@ -157,13 +157,13 @@ private:
QStringList m_fileCalendarTypes; // List of all Calendar Types used in file
QString m_parseCalendarType; // Calendar Type being parsed
bool m_traceParsing; // Bison C++ skeleton enable tracing in Bison parser class
HolidayParserPlan *m_parser; // Bison C++ skeleton Bison parser class implementation
bool m_traceParsing = false; // Bison C++ skeleton enable tracing in Bison parser class
HolidayParserPlan *m_parser = nullptr; // Bison C++ skeleton Bison parser class implementation
bool m_traceScanning; // Flex C++ enable tracing in Flex scanner class
HolidayScannerPlan *m_scanner; // Flex C++ scanner class implementation
HolidayScannerPlan *m_scanner = nullptr; // Flex C++ scanner class implementation
bool m_parseMetadataOnly; // Only parse file for metadata
bool m_parseMetadataOnly = false; // Only parse file for metadata
QDate m_parseYearStart; // First day of year being parsed
QDate m_parseYearEaster; // Easter in the parse year, Gregorian only
QDate m_parseYearPascha; // Orthodox Easter in the parse year, Gregorian only
......@@ -175,7 +175,7 @@ private:
int m_eventMonth; // Event date fields
int m_eventDay; // Event date fields
std::string *m_fileToParse;
std::string *m_fileToParse = nullptr;
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment