< prev index next >
src/jdk.jpackage/share/native/libapplauncher/IniFile.cpp
Print this page
@@ -187,11 +187,11 @@
bool IniFile::GetSection(const TString SectionName,
OrderedMap<TString, TString> &Data) {
bool result = false;
if (FMap.ContainsKey(SectionName) == true) {
- IniSectionData* section;
+ IniSectionData* section = NULL;
if (FMap.GetValue(SectionName, section) == true && section != NULL) {
OrderedMap<TString, TString> data = section->GetData();
Data.Append(data);
result = true;
< prev index next >