[ros-bugs] [Bug 4985] cleanup no logics changed

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Mon Dec 7 16:43:17 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4985





--- Comment #10 from BeastL <slyhome at ipnet.ua>  2009-12-07 16:43:16 CET ---
(In reply to comment #5)

> 
> Declaration of a struct is moved outside of the struct which encloses it, which
> is unnecessary, since the enclosed struct is never referenced except when
> embedded in the enclosing struct. 
> 

If the structure does not need to move outside of the struct what for then it
in general to declarate? It is possible to leave in general
tagPRIVATE_NOTIFY_DESKTOP with 3 fields like this:

typedef struct tagPRIVATE_NOTIFY_DESKTOP
{
    NMHDR hdr;
    int   Width;
    int   Height;
} PRIVATE_NOTIFY_DESKTOP, *PPRIVATE_NOTIFY_DESKTOP;


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list