summaryrefslogtreecommitdiffstats
path: root/Source/cmGetTargetPropertyCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-04-29 16:33:18 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-04-29 16:33:18 (GMT)
commit56f960296f45e770814442bd7e221767f5584339 (patch)
tree2f0f1d8981453072a6964154dc02a967e1b3ce8c /Source/cmGetTargetPropertyCommand.cxx
parent55af10416997d9e46de98cca64c98a50543d7b76 (diff)
downloadCMake-56f960296f45e770814442bd7e221767f5584339.zip
CMake-56f960296f45e770814442bd7e221767f5584339.tar.gz
CMake-56f960296f45e770814442bd7e221767f5584339.tar.bz2
ENH: remove warnings
Diffstat (limited to 'Source/cmGetTargetPropertyCommand.cxx')
-rw-r--r--Source/cmGetTargetPropertyCommand.cxx3
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);