Fix "warning: ‘rc’ may be used uninitialized in this function".
This commit is contained in:
parent
e90fcd8294
commit
37a64b02df
|
@ -80,7 +80,7 @@ ProcXChangeDeviceHierarchy(ClientPtr client)
|
|||
xAnyHierarchyChangeInfo *any;
|
||||
int required_len = sizeof(xChangeDeviceHierarchyReq);
|
||||
char n;
|
||||
int rc;
|
||||
int rc = Success;
|
||||
int nchanges = 0;
|
||||
deviceHierarchyChangedEvent ev;
|
||||
|
||||
|
|
Loading…
Reference in New Issue