diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2012-12-09 19:44:13 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-12-17 15:02:51 +1000 |
commit | 207e8dee00dd26ff4363edb72058b48b8a76b824 (patch) | |
tree | 5560aae17f98ea2dc1f419b4659a8ee120b89648 /Xi | |
parent | 7fabecd8e3efe76caeb740d905a02ae4256e3246 (diff) |
barriers: Clean up code
Rename a variable. This is to make the diff in the next commit cleaner.
Signed-off-by: Jasper St. Pierre <jstpierre@mecheye.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/xibarriers.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Xi/xibarriers.c b/Xi/xibarriers.c index 75ea4f7b7..b62a18ee5 100644 --- a/Xi/xibarriers.c +++ b/Xi/xibarriers.c @@ -538,12 +538,12 @@ CreatePointerBarrierClient(ClientPtr client, static int BarrierFreeBarrier(void *data, XID id) { - struct PointerBarrierClient *barrier; + struct PointerBarrierClient *c; - barrier = container_of(data, struct PointerBarrierClient, barrier); - xorg_list_del(&barrier->entry); + c = container_of(data, struct PointerBarrierClient, barrier); + xorg_list_del(&c->entry); - free(barrier); + free(c); return Success; } |