Fix issue detected by Coverity, in case solution does not specify platform configuration the platform will be uninitialized
This commit is contained in:
parent
05cdda3f4c
commit
5abf39503a
|
@ -262,7 +262,7 @@ void ImportProject::importSln(std::istream &istr, const std::string &path)
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
struct ProjectConfiguration {
|
struct ProjectConfiguration {
|
||||||
explicit ProjectConfiguration(const tinyxml2::XMLElement *cfg) {
|
explicit ProjectConfiguration(const tinyxml2::XMLElement *cfg) : platform(Unknown) {
|
||||||
const char *a = cfg->Attribute("Include");
|
const char *a = cfg->Attribute("Include");
|
||||||
if (a)
|
if (a)
|
||||||
name = a;
|
name = a;
|
||||||
|
|
Loading…
Reference in New Issue