Commit adc34597 authored by Sebastian Holtermann's avatar Sebastian Holtermann

Makefiles: Avoid pointer repurposing

parent 0d41b45c
......@@ -247,13 +247,13 @@ void cmGlobalUnixMakefileGenerator3::WriteMainMakefile2()
// Write out the "special" stuff
// write the target convenience rules
// Write the target convenience rules
for (cmLocalGenerator* localGen : this->LocalGenerators) {
lg = static_cast<cmLocalUnixMakefileGenerator3*>(localGen);
this->WriteConvenienceRules2(makefileStream, lg);
makefileStream, static_cast<cmLocalUnixMakefileGenerator3*>(localGen));
lg = static_cast<cmLocalUnixMakefileGenerator3*>(this->LocalGenerators[0]);
// Write special bottom targets
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment