From 37a64b02df02d42a19d4b777930dc5e457d97d63 Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Fri, 13 Jun 2008 22:41:58 -0400 Subject: Fix "warning: ‘rc’ may be used uninitialized in this function". MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Xi/chdevhier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Xi') 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; -- cgit v1.2.3