mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +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:
@@ -446,7 +446,6 @@ damageCreateGC(GCPtr pGC)
|
||||
damageGCPriv(pGC);
|
||||
Bool ret;
|
||||
|
||||
pGC->pCompositeClip = 0;
|
||||
unwrap (pScrPriv, pScreen, CreateGC);
|
||||
if((ret = (*pScreen->CreateGC) (pGC))) {
|
||||
pGCPriv->ops = NULL;
|
||||
|
||||
Reference in New Issue
Block a user