projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0205ec
)
edgetv: Remove unused but set height variable
author
Robert Swain
<robert.swain@collabora.co.uk>
Fri, 15 Apr 2011 09:16:42 +0000
(11:16 +0200)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Sat, 16 Apr 2011 11:40:17 +0000
(12:40 +0100)
GCC 4.6.x spits warnings about such variables.
gst/effectv/gstedge.c
patch
|
blob
|
history
diff --git
a/gst/effectv/gstedge.c
b/gst/effectv/gstedge.c
index
db109bf
..
f4b7762
100644
(file)
--- a/
gst/effectv/gstedge.c
+++ b/
gst/effectv/gstedge.c
@@
-108,7
+108,7
@@
gst_edgetv_transform (GstBaseTransform * trans, GstBuffer * in, GstBuffer * out)
guint32 *src, *dest;
guint32 p, q;
guint32 v0, v1, v2, v3;
- gint
height,
width, map_height, map_width;
+ gint width, map_height, map_width;
gint video_width_margin;
guint32 *map;
GstFlowReturn ret = GST_FLOW_OK;
@@
-118,7
+118,6
@@
gst_edgetv_transform (GstBaseTransform * trans, GstBuffer * in, GstBuffer * out)
GST_OBJECT_LOCK (filter);
map = filter->map;
- height = filter->height;
width = filter->width;
map_height = filter->map_height;
map_width = filter->map_width;