D-Programming-Language/dmd — pull request #1788 by donc (2013-03-22 13:48:43+00:00)
Title: Fix uninitialized vars in EnumDeclaration

'protection' and 'parent' are used in ScopeDSymbol::search
(detected by Valgrind). The assignment in semantic0 is enough to fix the bug, but I also added an initialization to the constructor.