diff options
author | Adam Jackson <ajax@redhat.com> | 2008-02-01 15:11:27 +1100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-02-14 07:51:29 +1100 |
commit | 89d3249c3e7611b22414bc84b10ca60aab4b9a77 (patch) | |
tree | 7d853a3efeb0a3f59ef2b3e82429d36c5fe2cd1d | |
parent | 238b816469355159eea98600ca900e3baa8fa313 (diff) |
Silence FreeResource()
-rw-r--r-- | dix/resource.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/dix/resource.c b/dix/resource.c index 6c1b04dc7..f318de3c0 100644 --- a/dix/resource.c +++ b/dix/resource.c @@ -535,7 +535,6 @@ FreeResource(XID id, RESTYPE skipDeleteFuncType) ResourcePtr *prev, *head; int *eltptr; int elements; - Bool gotOne = FALSE; if (((cid = CLIENT_ID(id)) < MAXCLIENTS) && clientTable[cid].buckets) { @@ -563,15 +562,11 @@ FreeResource(XID id, RESTYPE skipDeleteFuncType) xfree(res); if (*eltptr != elements) prev = head; /* prev may no longer be valid */ - gotOne = TRUE; } else prev = &res->next; } } - if (!gotOne) - ErrorF("Freeing resource id=%lX which isn't there.\n", - (unsigned long)id); } |