remove unnecessary variable
This commit is contained in:
@@ -92,7 +92,6 @@ HWND CreateGroup(_In_ GROUP grp)
|
|||||||
HWND hWndGroup = NULL;
|
HWND hWndGroup = NULL;
|
||||||
HWND hWndListView = NULL;
|
HWND hWndListView = NULL;
|
||||||
PGROUP pGroup = NULL;
|
PGROUP pGroup = NULL;
|
||||||
UINT cbGroup = 0;
|
|
||||||
|
|
||||||
// TODO: allocate memory for the group in the array
|
// TODO: allocate memory for the group in the array
|
||||||
// of group pointers in PGARRAY, then pass this to
|
// of group pointers in PGARRAY, then pass this to
|
||||||
@@ -101,8 +100,7 @@ HWND CreateGroup(_In_ GROUP grp)
|
|||||||
// keep track of all these stupid little pointers... since I can
|
// keep track of all these stupid little pointers... since I can
|
||||||
// just associate this with the appropriate window.
|
// just associate this with the appropriate window.
|
||||||
// calculate necessary group memory and create it
|
// calculate necessary group memory and create it
|
||||||
cbGroup = CalculateGroupMemory(&grp, 0);
|
pGroup = (PGROUP)malloc(CalculateGroupMemory(&grp, 0));
|
||||||
pGroup = (PGROUP)malloc(cbGroup);
|
|
||||||
|
|
||||||
// Get group minimized/maximized flags
|
// Get group minimized/maximized flags
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user