Bug 26389 - small randr code cleanup
Summary: small randr code cleanup
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 08:31 UTC by Robert Collins
Modified: 2010-02-02 08:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Use NULL instead of 0 to initialise rrGetInfo (415 bytes, patch)
2010-02-02 08:31 UTC, Robert Collins
no flags Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Collins 2010-02-02 08:31:14 UTC
Created attachment 33005 [details] [review]
Use NULL instead of 0 to initialise rrGetInfo

randr.c has a function pointer initialised to 0; this isn't /wrong/ as its C but still its a little clearer to folk that don't know the structs involved to initialise with NULL.
Comment 1 Alan Coopersmith 2010-02-02 08:38:28 UTC
Please submit patches as output by git format-patch.    Also, under current
process, X server patches will only be applied once sent to xorg-devel.

See http://www.x.org/wiki/Development/Documentation/SubmittingPatches and
http://www.x.org/wiki/XServer for more information.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.