mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +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 \
|
||||
gstppc.h
|
||||
|
||||
CFLAGS += -O2 -Wall
|
||||
CFLAGS += -Wall
|
||||
|
||||
libgst_la_LIBADD = $(GLIB_LIBS) $(GTK_LIBS) $(XML_LIBS)
|
||||
libgst_la_LDFLAGS = -version-info $(STREAMER_CURRENT):$(STREAMER_REVISION):$(STREAMER_AGE)
|
||||
|
|
|
@ -156,7 +156,6 @@ static void
|
|||
gst_fakesrc_update_functions (GstFakeSrc *src)
|
||||
{
|
||||
GSList *pads;
|
||||
GstPadGetFunction func;
|
||||
|
||||
pads = src->srcpads;
|
||||
while (pads) {
|
||||
|
|
|
@ -566,7 +566,9 @@ gst_bin_create_plan_func (GstBin *bin)
|
|||
GstElement *manager;
|
||||
GList *elements;
|
||||
GstElement *element;
|
||||
#ifdef GST_DEBUG_ENABLED
|
||||
const gchar *elementname;
|
||||
#endif
|
||||
GSList *pending = NULL;
|
||||
GstBin *pending_bin;
|
||||
|
||||
|
@ -706,7 +708,7 @@ gst_bin_iterate_func (GstBin *bin)
|
|||
GstElement *entry;
|
||||
GList *pads;
|
||||
GstPad *pad;
|
||||
GstBuffer *buf;
|
||||
GstBuffer *buf = NULL;
|
||||
|
||||
DEBUG_SET_STRING("(\"%s\")", gst_element_get_name (GST_ELEMENT (bin)));
|
||||
DEBUG_ENTER_STRING;
|
||||
|
|
|
@ -1045,7 +1045,7 @@ gst_pad_eos_func(GstPad *pad)
|
|||
GstElement *element;
|
||||
GList *pads;
|
||||
GstPad *srcpad;
|
||||
gboolean result, success = TRUE;
|
||||
gboolean result = TRUE, success;
|
||||
|
||||
g_return_val_if_fail (pad != NULL, FALSE);
|
||||
g_return_val_if_fail (GST_IS_PAD(pad), FALSE);
|
||||
|
|
|
@ -156,7 +156,6 @@ static void
|
|||
gst_fakesrc_update_functions (GstFakeSrc *src)
|
||||
{
|
||||
GSList *pads;
|
||||
GstPadGetFunction func;
|
||||
|
||||
pads = src->srcpads;
|
||||
while (pads) {
|
||||
|
|
Loading…
Reference in a new issue