summaryrefslogtreecommitdiff
path: root/Xi/chdevhier.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-06-13 22:41:58 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-06-13 22:46:51 -0400
commit37a64b02df02d42a19d4b777930dc5e457d97d63 (patch)
tree234895813aad4a693fa42439ab4cc03388a41c0b /Xi/chdevhier.c
parente90fcd8294fe763c97610d39cab50f2836f87dca (diff)
Fix "warning: ‘rc’ may be used uninitialized in this function".
Diffstat (limited to 'Xi/chdevhier.c')
-rw-r--r--Xi/chdevhier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/chdevhier.c b/Xi/chdevhier.c
index 99957fe0c..07bd729db 100644
--- a/Xi/chdevhier.c
+++ b/Xi/chdevhier.c
@@ -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;