diff options
Diffstat (limited to 'Source/cmGetTargetPropertyCommand.cxx')
-rw-r--r-- | Source/cmGetTargetPropertyCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGetTargetPropertyCommand.cxx b/Source/cmGetTargetPropertyCommand.cxx index f81945e..6ff0fcc 100644 --- a/Source/cmGetTargetPropertyCommand.cxx +++ b/Source/cmGetTargetPropertyCommand.cxx @@ -71,8 +71,7 @@ bool cmGetTargetPropertyCommand::InitialPass( } else { - const char *prop = 0; - prop = target.GetProperty(args[2].c_str()); + const char *prop = target.GetProperty(args[2].c_str()); if (prop) { m_Makefile->AddDefinition(var, prop); |