summaryrefslogtreecommitdiffstats
path: root/sys/ximage
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-18 18:14:49 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-18 18:51:28 +0200
commit14f715f978747c9f8f2298db099febffbbcd6f91 (patch)
treec571cf6b1855ff5a6ed42f8170778ce45105f7b0 /sys/ximage
parent0cb5b42d546538b455ac3bbe90b07e3eb67eb820 (diff)
ximage: Remove dead assignments.
Those variables are not read after that point.
Diffstat (limited to 'sys/ximage')
-rw-r--r--sys/ximage/gstximagesrc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/ximage/gstximagesrc.c b/sys/ximage/gstximagesrc.c
index 77893f4e..15c7d6ce 100644
--- a/sys/ximage/gstximagesrc.c
+++ b/sys/ximage/gstximagesrc.c
@@ -525,7 +525,6 @@ gst_ximage_src_ximage_get (GstXImageSrc * ximagesrc)
memcpy (GST_BUFFER_DATA (GST_BUFFER (ximage)),
GST_BUFFER_DATA (GST_BUFFER (ximagesrc->last_ximage)),
GST_BUFFER_SIZE (GST_BUFFER (ximage)));
- have_frame = TRUE;
}
#ifdef HAVE_XFIXES
/* re-get area where last mouse pointer was but only if in our clipping
@@ -619,7 +618,6 @@ gst_ximage_src_ximage_get (GstXImageSrc * ximagesrc)
if (ximagesrc->cursor_image != NULL) {
int cx, cy, i, j, count;
int startx, starty, iwidth, iheight;
- gboolean clipped = FALSE;
gboolean cursor_in_image = TRUE;
cx = ximagesrc->cursor_image->x - ximagesrc->cursor_image->xhot;
@@ -653,7 +651,6 @@ gst_ximage_src_ximage_get (GstXImageSrc * ximagesrc)
iheight = (cy + ximagesrc->cursor_image->height < ximagesrc->endy) ?
cy + ximagesrc->cursor_image->height - starty :
ximagesrc->endy - starty;
- clipped = TRUE;
}
} else {
startx = cx;