Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chuck Atkins
KWSys
Commits
eff630cb
Commit
eff630cb
authored
Mar 12, 2006
by
Bill Hoffman
Browse files
ENH: remove warning
parent
556848eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
SystemTools.cxx
View file @
eff630cb
...
...
@@ -1923,6 +1923,8 @@ kwsys_stl::string SystemTools::FindProgram(
return
""
;
}
kwsys_stl
::
string
name
=
nameIn
;
kwsys_stl
::
vector
<
kwsys_stl
::
string
>
extensions
;
#if defined (_WIN32) || defined(__CYGWIN__) | defined(__MINGW32__)
bool
hasExtension
=
false
;
// check to see if the name already has a .xxx at
// the end of it
...
...
@@ -1930,8 +1932,6 @@ kwsys_stl::string SystemTools::FindProgram(
{
hasExtension
=
true
;
}
kwsys_stl
::
vector
<
kwsys_stl
::
string
>
extensions
;
#if defined (_WIN32) || defined(__CYGWIN__) | defined(__MINGW32__)
// on windows try .com then .exe
if
(
!
hasExtension
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment