Re #787 Fixed a few MSVC warnings after raising warning level to 4 (some others are left, guys ...)

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5191 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d42f4ddc30e2ad393925fc9252e3ad4fcda2c2ab
Former-commit-id: be8f5eb54d6b34cd2595d6c98db5d5202eda242f
This commit is contained in:
pouillot 2013-02-23 19:20:56 +00:00
parent 7b72e66cd1
commit 5de1bdfe0d
2 changed files with 4 additions and 1 deletions

View file

@ -264,6 +264,9 @@ class TGF_API GfApplication
bool bFound; bool bFound;
std::string strValue; std::string strValue;
public: public:
Option()
{
}
Option(const std::string& strShortName_, const std::string& strLongName_, Option(const std::string& strShortName_, const std::string& strLongName_,
bool bHasValue_ = false) bool bHasValue_ = false)
: strShortName(strShortName_), strLongName(strLongName_), bHasValue(bHasValue_), : strShortName(strShortName_), strLongName(strLongName_), bHasValue(bHasValue_),

View file

@ -463,7 +463,7 @@ rmdsSelectDeselectDriver(void * /* dummy */ )
{ {
const char* name; const char* name;
int src, dst; int src, dst;
GfDriver *pDriver; GfDriver *pDriver = 0;
bool bSelect; bool bSelect;
// If the selected driver is in the Candidate scroll-list, // If the selected driver is in the Candidate scroll-list,