aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xext/xres.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-04-20 17:39:44 +0200
committermarha <marha@users.sourceforge.net>2012-04-20 17:39:44 +0200
commit588abfd54eb267dd79fe441e42aee9fc7534eb6e (patch)
tree71e38b483befaa2def58919fa07b073a68fe1f15 /xorg-server/Xext/xres.c
parentae228baa2cfe88bd7c7de40d5038ad2cc1ecffa4 (diff)
downloadvcxsrv-588abfd54eb267dd79fe441e42aee9fc7534eb6e.tar.gz
vcxsrv-588abfd54eb267dd79fe441e42aee9fc7534eb6e.tar.bz2
vcxsrv-588abfd54eb267dd79fe441e42aee9fc7534eb6e.zip
Solved compilation errors and warnings due to latest commit
Diffstat (limited to 'xorg-server/Xext/xres.c')
-rw-r--r--xorg-server/Xext/xres.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/Xext/xres.c b/xorg-server/Xext/xres.c
index ecef0c032..7b2e609bd 100644
--- a/xorg-server/Xext/xres.c
+++ b/xorg-server/Xext/xres.c
@@ -117,7 +117,7 @@ AddFragment(struct xorg_list *frags, int bytes)
static void
WriteFragmentsToClient(ClientPtr client, struct xorg_list *frags)
{
- FragmentList *it;
+ FragmentList *it=NULL;
xorg_list_for_each_entry(it, frags, l) {
WriteToClient(client, it->bytes, (char*) it + sizeof(*it));
}
@@ -130,7 +130,7 @@ WriteFragmentsToClient(ClientPtr client, struct xorg_list *frags)
static void
DestroyFragments(struct xorg_list *frags)
{
- FragmentList *it, *tmp;
+ FragmentList *it=NULL, *tmp;
xorg_list_for_each_entry_safe(it, tmp, frags, l) {
xorg_list_del(&it->l);
free(it);
@@ -818,7 +818,7 @@ AddResourceSizeValue(pointer ptr, XID id, RESTYPE type, pointer cdata)
Bool ok = TRUE;
HashTable ht;
HtGenericHashSetupRec htSetup = {
- .keySize = sizeof(void*)
+ /*.keySize = */sizeof(void*)
};
/* it doesn't matter that we don't undo the work done here