mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-10 23:33:46 +00:00
Delete redundant GC initializations.
When a GC is allocated, it is zeroed, including all storage requested with dixRegisterPrivateKey. So CreateGC hooks don't need to initialize anything to zero. Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
This commit is contained in:
parent
3288232f3d
commit
bbbf795e6b
6 changed files with 1 additions and 22 deletions
|
|
@ -73,9 +73,6 @@ static GCOps xnestOps = {
|
|||
Bool
|
||||
xnestCreateGC(GCPtr pGC)
|
||||
{
|
||||
pGC->clientClipType = CT_NONE;
|
||||
pGC->clientClip = NULL;
|
||||
|
||||
pGC->funcs = &xnestFuncs;
|
||||
pGC->ops = &xnestOps;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue