diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-26 14:19:11 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-05-01 17:34:59 (GMT) |
commit | 191573f7922aea3c1abdba325f5e65e4ba03d7c8 (patch) | |
tree | cfd1cc1e61f8e3a16cf17b6e4fb143b62a14a9f2 /Source/cmMakefile.cxx | |
parent | 8b1745a1c5ed992e632bd4865c0f6a34b136041d (diff) | |
download | CMake-191573f7922aea3c1abdba325f5e65e4ba03d7c8.zip CMake-191573f7922aea3c1abdba325f5e65e4ba03d7c8.tar.gz CMake-191573f7922aea3c1abdba325f5e65e4ba03d7c8.tar.bz2 |
cmDefinitions: Remove Parent pointer.
All structural knowledge of the stack of scopes is now external.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index ae7e564..b16d7e6 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -53,12 +53,7 @@ public: void PushDefinitions() { - cmDefinitions* parent = 0; - if (!this->VarStack.empty()) - { - parent = &this->VarStack.back(); - } - this->VarStack.push_back(cmDefinitions(parent)); + this->VarStack.push_back(cmDefinitions()); } void InitializeDefinitions(cmMakefile* parent) |