mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Fix "warning: ‘rc’ may be used uninitialized in this function".
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user