summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/Registry.cxx1
-rw-r--r--Source/kwsys/SystemTools.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/Source/kwsys/Registry.cxx b/Source/kwsys/Registry.cxx
index 414b066..3c0be26 100644
--- a/Source/kwsys/Registry.cxx
+++ b/Source/kwsys/Registry.cxx
@@ -267,7 +267,6 @@ bool Registry::DeleteValue(const char *subkey, const char *key)
if ( !this->Open(this->GetTopLevel(), subkey,
Registry::READWRITE) )
{
- std::cerr << "Failed to open\n";
return res;
}
open = true;
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index abc3cd1..118f74d 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -1923,7 +1923,7 @@ kwsys_stl::string SystemTools::FindProgram(
{
return "";
}
- std::string ext = SystemTools::GetExecutableExtension();
+ kwsys_stl::string ext = SystemTools::GetExecutableExtension();
if(ext.size())
{
unsigned int len = strlen(name);