diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-27 20:52:29 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-27 20:52:29 (GMT) |
commit | 4d9b5d5ef119d8825fda3d40cfcb01cf7e7ae4ac (patch) | |
tree | f18fa9c8be71c26fe4c44b440b3e3573cf6681c4 | |
parent | f57a7ba95c6ac6a175f1e1599baa6285d1de254a (diff) | |
download | CMake-4d9b5d5ef119d8825fda3d40cfcb01cf7e7ae4ac.zip CMake-4d9b5d5ef119d8825fda3d40cfcb01cf7e7ae4ac.tar.gz CMake-4d9b5d5ef119d8825fda3d40cfcb01cf7e7ae4ac.tar.bz2 |
Remove warnings
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.cxx | 2 | ||||
-rw-r--r-- | Source/cmSystemTools.cxx | 2 | ||||
-rw-r--r-- | Source/cmUseMangledMesaCommand.cxx | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index 3ca1e51..ba05476 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -531,7 +531,6 @@ void cmLocalVisualStudio6Generator::SetBuildType(BuildType b, // reset m_Configurations m_Configurations.erase(m_Configurations.begin(), m_Configurations.end()); // now add all the configurations possible - char buffer[2048]; std::string 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()); } - char buffer[2048]; std::string line; while(cmSystemTools::GetLineFromStream(fin, line)) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index d185509..c85aeec 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1291,8 +1291,6 @@ bool RunCommandViaSystem(const char* command, { std::cout << "@@ " << command << std::endl; - const int BUFFER_SIZE = 4096; - char buffer[BUFFER_SIZE]; std::string commandInDir; if(dir) { diff --git a/Source/cmUseMangledMesaCommand.cxx b/Source/cmUseMangledMesaCommand.cxx index 57f7fb0..3e6e2e0 100644 --- a/Source/cmUseMangledMesaCommand.cxx +++ b/Source/cmUseMangledMesaCommand.cxx @@ -89,8 +89,6 @@ CopyAndFullPathMesaHeader(const char* source, } // now copy input to output and expand variables in the // input file at the same time - const int bufSize = 4096; - char buffer[bufSize]; std::string inLine; // regular expression for any #include line cmRegularExpression includeLine("^[ \t]*#[ \t]*include[ \t]*[<\"]([^\">]+)[\">]"); |