mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
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:
parent
3e9b1be6fb
commit
3910456d55
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue