Remove warnings
This commit is contained in:
parent
f57a7ba95c
commit
4d9b5d5ef1
@ -531,7 +531,6 @@ void cmLocalVisualStudio6Generator::SetBuildType(BuildType b,
|
|||||||
// reset m_Configurations
|
// reset m_Configurations
|
||||||
m_Configurations.erase(m_Configurations.begin(), m_Configurations.end());
|
m_Configurations.erase(m_Configurations.begin(), m_Configurations.end());
|
||||||
// now add all the configurations possible
|
// now add all the configurations possible
|
||||||
char buffer[2048];
|
|
||||||
std::string line;
|
std::string line;
|
||||||
while(cmSystemTools::GetLineFromStream(fin, line))
|
while(cmSystemTools::GetLineFromStream(fin, line))
|
||||||
{
|
{
|
||||||
@ -841,7 +840,6 @@ void cmLocalVisualStudio6Generator::WriteDSPHeader(std::ostream& fout, const cha
|
|||||||
{
|
{
|
||||||
cmSystemTools::Error("Error Reading ", m_DSPHeaderTemplate.c_str());
|
cmSystemTools::Error("Error Reading ", m_DSPHeaderTemplate.c_str());
|
||||||
}
|
}
|
||||||
char buffer[2048];
|
|
||||||
|
|
||||||
std::string line;
|
std::string line;
|
||||||
while(cmSystemTools::GetLineFromStream(fin, line))
|
while(cmSystemTools::GetLineFromStream(fin, line))
|
||||||
|
@ -1291,8 +1291,6 @@ bool RunCommandViaSystem(const char* command,
|
|||||||
{
|
{
|
||||||
std::cout << "@@ " << command << std::endl;
|
std::cout << "@@ " << command << std::endl;
|
||||||
|
|
||||||
const int BUFFER_SIZE = 4096;
|
|
||||||
char buffer[BUFFER_SIZE];
|
|
||||||
std::string commandInDir;
|
std::string commandInDir;
|
||||||
if(dir)
|
if(dir)
|
||||||
{
|
{
|
||||||
|
@ -89,8 +89,6 @@ CopyAndFullPathMesaHeader(const char* source,
|
|||||||
}
|
}
|
||||||
// now copy input to output and expand variables in the
|
// now copy input to output and expand variables in the
|
||||||
// input file at the same time
|
// input file at the same time
|
||||||
const int bufSize = 4096;
|
|
||||||
char buffer[bufSize];
|
|
||||||
std::string inLine;
|
std::string inLine;
|
||||||
// regular expression for any #include line
|
// regular expression for any #include line
|
||||||
cmRegularExpression includeLine("^[ \t]*#[ \t]*include[ \t]*[<\"]([^\">]+)[\">]");
|
cmRegularExpression includeLine("^[ \t]*#[ \t]*include[ \t]*[<\"]([^\">]+)[\">]");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user