diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-30 01:48:16 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-30 01:48:16 (GMT) |
commit | 4fe98d8068dd51f94d12e1227628e383622c993f (patch) | |
tree | dcab1963968a8468210e268e1aebdf62df1ac9b9 /Source | |
parent | dbd13144a36d4d46cf9a69ba016ed47af7c988c7 (diff) | |
download | CMake-4fe98d8068dd51f94d12e1227628e383622c993f.zip CMake-4fe98d8068dd51f94d12e1227628e383622c993f.tar.gz CMake-4fe98d8068dd51f94d12e1227628e383622c993f.tar.bz2 |
Simplify debugging by resetting error code
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmSystemTools.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 3717a90..d253401 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1479,6 +1479,7 @@ bool RunCommandViaWin32(const char* command, int& retVal, bool verbose) { + ::SetLastError(ERROR_SUCCESS); if ( ! command ) { cmSystemTools::Error("No command specified"); |