From 3bf92ad4b47d8230c4777707749d3c0566c05d6a Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 25 Jun 2007 12:50:29 -0400 Subject: COMP: fix warnings --- Source/cmGetPropertyCommand.cxx | 4 ++++ Source/cmSetPropertiesCommand.cxx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Source/cmGetPropertyCommand.cxx b/Source/cmGetPropertyCommand.cxx index 182be33..44ad26e 100644 --- a/Source/cmGetPropertyCommand.cxx +++ b/Source/cmGetPropertyCommand.cxx @@ -152,6 +152,10 @@ bool cmGetPropertyCommand::InitialPass( } } break; + case cmProperty::VARIABLE: + case cmProperty::CACHED_VARIABLE: + // not handled by GetProperty + break; } this->Makefile->AddDefinition(args[0].c_str(), output.c_str()); diff --git a/Source/cmSetPropertiesCommand.cxx b/Source/cmSetPropertiesCommand.cxx index aa4f7fa..117d0df 100644 --- a/Source/cmSetPropertiesCommand.cxx +++ b/Source/cmSetPropertiesCommand.cxx @@ -199,6 +199,10 @@ bool cmSetPropertiesCommand::InitialPass( } } break; + case cmProperty::VARIABLE: + case cmProperty::CACHED_VARIABLE: + // not handled by SetProperty + break; } return true; -- cgit v0.12