diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-06-13 22:41:58 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2008-06-13 22:46:51 -0400 |
commit | 37a64b02df02d42a19d4b777930dc5e457d97d63 (patch) | |
tree | 234895813aad4a693fa42439ab4cc03388a41c0b /Xi/chdevhier.c | |
parent | e90fcd8294fe763c97610d39cab50f2836f87dca (diff) |
Fix "warning: ‘rc’ may be used uninitialized in this function".
Diffstat (limited to 'Xi/chdevhier.c')
-rw-r--r-- | Xi/chdevhier.c | 2 |
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; |