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 {
|
||||
struct ProjectConfiguration {
|
||||
explicit ProjectConfiguration(const tinyxml2::XMLElement *cfg) {
|
||||
explicit ProjectConfiguration(const tinyxml2::XMLElement *cfg) : platform(Unknown) {
|
||||
const char *a = cfg->Attribute("Include");
|
||||
if (a)
|
||||
name = a;
|
||||
|
|
Loading…
Reference in New Issue