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:
David I. Lehn 2002-12-03 21:55:39 +00:00
parent cb3a70b7f7
commit c5ee2d3051
6 changed files with 16 additions and 16 deletions

View file

@ -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)

View file

@ -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;

View file

@ -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;

View file

@ -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)

View file

@ -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;

View file

@ -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;