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
CMake
CMake
Commits
b6e4bc05
Commit
b6e4bc05
authored
Feb 19, 2006
by
Brad King
Browse files
COMP: Removed unused variables.
parent
e14d5911
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmInstallCommand.cxx
View file @
b6e4bc05
...
...
@@ -94,8 +94,6 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
std
::
vector
<
cmTarget
*>
targets
;
const
char
*
library_destination
=
0
;
const
char
*
runtime_destination
=
0
;
cmLocalGenerator
*
lg
=
m_Makefile
->
GetLocalGenerator
();
cmGlobalGenerator
*
gg
=
lg
->
GetGlobalGenerator
();
for
(
unsigned
int
i
=
1
;
i
<
args
.
size
();
++
i
)
{
if
(
args
[
i
]
==
"DESTINATION"
)
...
...
@@ -122,7 +120,7 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
}
else
if
(
doing_targets
)
{
// Lookup this target in the current
project
.
// Lookup this target in the current
directory
.
if
(
cmTarget
*
target
=
m_Makefile
->
FindTarget
(
args
[
i
].
c_str
()))
{
// Found the target. Check its type.
...
...
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