In G_LoadAddon(), remove inner 'struct grpfile *grp', fixing uninited access.

... four lines later.
I don't know if that is the intended semantics for this function, but
nasal demons is clearly not what we want. Please review!

git-svn-id: https://svn.eduke32.com/eduke32@3712 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-04-25 21:10:29 +00:00
parent 3e9b1be6fb
commit 3910456d55

View file

@ -10170,8 +10170,6 @@ static void G_LoadAddon(void)
if (grp && FindGroup(DUKE15_CRC))
{
struct grpfile *grp;
clearGrpNamePtr();
g_grpNamePtr = dup_filename(FindGroup(DUKE15_CRC)->name);