mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Fix some compile warnings
Original commit message from CVS: Fix some compile warnings
This commit is contained in:
parent
3651488227
commit
527525a282
5 changed files with 5 additions and 5 deletions
|
@ -82,7 +82,7 @@ noinst_HEADERS = \
|
||||||
gsti386.h \
|
gsti386.h \
|
||||||
gstppc.h
|
gstppc.h
|
||||||
|
|
||||||
CFLAGS += -O2 -Wall
|
CFLAGS += -Wall
|
||||||
|
|
||||||
libgst_la_LIBADD = $(GLIB_LIBS) $(GTK_LIBS) $(XML_LIBS)
|
libgst_la_LIBADD = $(GLIB_LIBS) $(GTK_LIBS) $(XML_LIBS)
|
||||||
libgst_la_LDFLAGS = -version-info $(STREAMER_CURRENT):$(STREAMER_REVISION):$(STREAMER_AGE)
|
libgst_la_LDFLAGS = -version-info $(STREAMER_CURRENT):$(STREAMER_REVISION):$(STREAMER_AGE)
|
||||||
|
|
|
@ -156,7 +156,6 @@ static void
|
||||||
gst_fakesrc_update_functions (GstFakeSrc *src)
|
gst_fakesrc_update_functions (GstFakeSrc *src)
|
||||||
{
|
{
|
||||||
GSList *pads;
|
GSList *pads;
|
||||||
GstPadGetFunction func;
|
|
||||||
|
|
||||||
pads = src->srcpads;
|
pads = src->srcpads;
|
||||||
while (pads) {
|
while (pads) {
|
||||||
|
|
|
@ -566,7 +566,9 @@ gst_bin_create_plan_func (GstBin *bin)
|
||||||
GstElement *manager;
|
GstElement *manager;
|
||||||
GList *elements;
|
GList *elements;
|
||||||
GstElement *element;
|
GstElement *element;
|
||||||
|
#ifdef GST_DEBUG_ENABLED
|
||||||
const gchar *elementname;
|
const gchar *elementname;
|
||||||
|
#endif
|
||||||
GSList *pending = NULL;
|
GSList *pending = NULL;
|
||||||
GstBin *pending_bin;
|
GstBin *pending_bin;
|
||||||
|
|
||||||
|
@ -706,7 +708,7 @@ gst_bin_iterate_func (GstBin *bin)
|
||||||
GstElement *entry;
|
GstElement *entry;
|
||||||
GList *pads;
|
GList *pads;
|
||||||
GstPad *pad;
|
GstPad *pad;
|
||||||
GstBuffer *buf;
|
GstBuffer *buf = NULL;
|
||||||
|
|
||||||
DEBUG_SET_STRING("(\"%s\")", gst_element_get_name (GST_ELEMENT (bin)));
|
DEBUG_SET_STRING("(\"%s\")", gst_element_get_name (GST_ELEMENT (bin)));
|
||||||
DEBUG_ENTER_STRING;
|
DEBUG_ENTER_STRING;
|
||||||
|
|
|
@ -1045,7 +1045,7 @@ gst_pad_eos_func(GstPad *pad)
|
||||||
GstElement *element;
|
GstElement *element;
|
||||||
GList *pads;
|
GList *pads;
|
||||||
GstPad *srcpad;
|
GstPad *srcpad;
|
||||||
gboolean result, success = TRUE;
|
gboolean result = TRUE, success;
|
||||||
|
|
||||||
g_return_val_if_fail (pad != NULL, FALSE);
|
g_return_val_if_fail (pad != NULL, FALSE);
|
||||||
g_return_val_if_fail (GST_IS_PAD(pad), FALSE);
|
g_return_val_if_fail (GST_IS_PAD(pad), FALSE);
|
||||||
|
|
|
@ -156,7 +156,6 @@ static void
|
||||||
gst_fakesrc_update_functions (GstFakeSrc *src)
|
gst_fakesrc_update_functions (GstFakeSrc *src)
|
||||||
{
|
{
|
||||||
GSList *pads;
|
GSList *pads;
|
||||||
GstPadGetFunction func;
|
|
||||||
|
|
||||||
pads = src->srcpads;
|
pads = src->srcpads;
|
||||||
while (pads) {
|
while (pads) {
|
||||||
|
|
Loading…
Reference in a new issue