mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
use AM_CFLAGS dummy NULL init for vars to deal with warnings
Original commit message from CVS: use AM_CFLAGS dummy NULL init for vars to deal with warnings
This commit is contained in:
parent
cb3a70b7f7
commit
c5ee2d3051
6 changed files with 16 additions and 16 deletions
|
@ -8,15 +8,15 @@ check_PROGRAMS = $(testprogs)
|
|||
noinst_PROGRAMS = $(testsfailing)
|
||||
|
||||
LDADD = $(GST_LIBS)
|
||||
CFLAGS = $(GST_CFLAGS)
|
||||
AM_CFLAGS = $(GST_CFLAGS)
|
||||
|
||||
thread1_SOURCES = thread.c
|
||||
thread1_CFLAGS = -DTESTNUM=1
|
||||
thread1_CFLAGS = -DTESTNUM=1 $(AM_CFLAGS)
|
||||
thread2_SOURCES = thread.c
|
||||
thread2_CFLAGS = -DTESTNUM=2
|
||||
thread2_CFLAGS = -DTESTNUM=2 $(AM_CFLAGS)
|
||||
thread3_SOURCES = thread.c
|
||||
thread3_CFLAGS = -DTESTNUM=3
|
||||
thread3_CFLAGS = -DTESTNUM=3 $(AM_CFLAGS)
|
||||
thread4_SOURCES = thread.c
|
||||
thread4_CFLAGS = -DTESTNUM=4
|
||||
thread4_CFLAGS = -DTESTNUM=4 $(AM_CFLAGS)
|
||||
thread5_SOURCES = thread.c
|
||||
thread5_CFLAGS = -DTESTNUM=5
|
||||
thread5_CFLAGS = -DTESTNUM=5 $(AM_CFLAGS)
|
||||
|
|
|
@ -13,7 +13,7 @@ gboolean done = FALSE;
|
|||
static void
|
||||
construct_pipeline (GstElement *pipeline, gint identities)
|
||||
{
|
||||
GstElement *src, *sink, *identity;
|
||||
GstElement *src, *sink, *identity = NULL;
|
||||
GstElement *from;
|
||||
int i;
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ gboolean done = FALSE;
|
|||
static void
|
||||
construct_pipeline (GstElement *pipeline, gint identities)
|
||||
{
|
||||
GstElement *src, *sink, *identity;
|
||||
GstElement *src, *sink, *identity = NULL;
|
||||
GstElement *from;
|
||||
int i;
|
||||
|
||||
|
|
|
@ -8,15 +8,15 @@ check_PROGRAMS = $(testprogs)
|
|||
noinst_PROGRAMS = $(testsfailing)
|
||||
|
||||
LDADD = $(GST_LIBS)
|
||||
CFLAGS = $(GST_CFLAGS)
|
||||
AM_CFLAGS = $(GST_CFLAGS)
|
||||
|
||||
thread1_SOURCES = thread.c
|
||||
thread1_CFLAGS = -DTESTNUM=1
|
||||
thread1_CFLAGS = -DTESTNUM=1 $(AM_CFLAGS)
|
||||
thread2_SOURCES = thread.c
|
||||
thread2_CFLAGS = -DTESTNUM=2
|
||||
thread2_CFLAGS = -DTESTNUM=2 $(AM_CFLAGS)
|
||||
thread3_SOURCES = thread.c
|
||||
thread3_CFLAGS = -DTESTNUM=3
|
||||
thread3_CFLAGS = -DTESTNUM=3 $(AM_CFLAGS)
|
||||
thread4_SOURCES = thread.c
|
||||
thread4_CFLAGS = -DTESTNUM=4
|
||||
thread4_CFLAGS = -DTESTNUM=4 $(AM_CFLAGS)
|
||||
thread5_SOURCES = thread.c
|
||||
thread5_CFLAGS = -DTESTNUM=5
|
||||
thread5_CFLAGS = -DTESTNUM=5 $(AM_CFLAGS)
|
||||
|
|
|
@ -13,7 +13,7 @@ gboolean done = FALSE;
|
|||
static void
|
||||
construct_pipeline (GstElement *pipeline, gint identities)
|
||||
{
|
||||
GstElement *src, *sink, *identity;
|
||||
GstElement *src, *sink, *identity = NULL;
|
||||
GstElement *from;
|
||||
int i;
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ gboolean done = FALSE;
|
|||
static void
|
||||
construct_pipeline (GstElement *pipeline, gint identities)
|
||||
{
|
||||
GstElement *src, *sink, *identity;
|
||||
GstElement *src, *sink, *identity = NULL;
|
||||
GstElement *from;
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in a new issue