aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xfixes/cursor.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-06-14 09:28:49 +0200
committermarha <marha@users.sourceforge.net>2011-06-14 09:28:49 +0200
commitffc346f9ce29ccafb3b8108450bcff27d04e3b91 (patch)
tree4f5b469938d02bc7d2ff10d187249332267957d6 /xorg-server/xfixes/cursor.c
parent11b089de395e019a4c28706661318e0ee4b677b6 (diff)
downloadvcxsrv-ffc346f9ce29ccafb3b8108450bcff27d04e3b91.tar.gz
vcxsrv-ffc346f9ce29ccafb3b8108450bcff27d04e3b91.tar.bz2
vcxsrv-ffc346f9ce29ccafb3b8108450bcff27d04e3b91.zip
Solved compile time warning
Diffstat (limited to 'xorg-server/xfixes/cursor.c')
-rw-r--r--xorg-server/xfixes/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/xfixes/cursor.c b/xorg-server/xfixes/cursor.c
index 4eaae2784..813b90ef0 100644
--- a/xorg-server/xfixes/cursor.c
+++ b/xorg-server/xfixes/cursor.c
@@ -1182,7 +1182,7 @@ static struct PointerBarrier*
barrier_find_nearest(CursorScreenPtr cs, int dir,
int x1, int y1, int x2, int y2)
{
- struct PointerBarrierClient *c;
+ struct PointerBarrierClient *c = NULL;
struct PointerBarrier *nearest = NULL;
double min_distance = INT_MAX; /* can't get higher than that in X anyway */