From c5ee2d30519c1b55665db65670939d25e0144206 Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Tue, 3 Dec 2002 21:55:39 +0000 Subject: [PATCH] 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 --- tests/old/testsuite/threads/Makefile.am | 12 ++++++------ tests/old/testsuite/threads/threadd.c | 2 +- tests/old/testsuite/threads/threade.c | 2 +- testsuite/threads/Makefile.am | 12 ++++++------ testsuite/threads/threadd.c | 2 +- testsuite/threads/threade.c | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tests/old/testsuite/threads/Makefile.am b/tests/old/testsuite/threads/Makefile.am index 25ac44408c..2c42a6b0e8 100644 --- a/tests/old/testsuite/threads/Makefile.am +++ b/tests/old/testsuite/threads/Makefile.am @@ -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) diff --git a/tests/old/testsuite/threads/threadd.c b/tests/old/testsuite/threads/threadd.c index c28b4c02d7..c0902549f7 100644 --- a/tests/old/testsuite/threads/threadd.c +++ b/tests/old/testsuite/threads/threadd.c @@ -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; diff --git a/tests/old/testsuite/threads/threade.c b/tests/old/testsuite/threads/threade.c index e03db7df28..1fc4af8a6d 100644 --- a/tests/old/testsuite/threads/threade.c +++ b/tests/old/testsuite/threads/threade.c @@ -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; diff --git a/testsuite/threads/Makefile.am b/testsuite/threads/Makefile.am index 25ac44408c..2c42a6b0e8 100644 --- a/testsuite/threads/Makefile.am +++ b/testsuite/threads/Makefile.am @@ -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) diff --git a/testsuite/threads/threadd.c b/testsuite/threads/threadd.c index c28b4c02d7..c0902549f7 100644 --- a/testsuite/threads/threadd.c +++ b/testsuite/threads/threadd.c @@ -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; diff --git a/testsuite/threads/threade.c b/testsuite/threads/threade.c index e03db7df28..1fc4af8a6d 100644 --- a/testsuite/threads/threade.c +++ b/testsuite/threads/threade.c @@ -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;