use AM_CFLAGS dummy NULL init for vars to deal with warnings
authorDavid I. Lehn <dlehn@users.sourceforge.net>
Tue, 3 Dec 2002 21:55:39 +0000 (21:55 +0000)
committerDavid I. Lehn <dlehn@users.sourceforge.net>
Tue, 3 Dec 2002 21:55:39 +0000 (21:55 +0000)
Original commit message from CVS:
use AM_CFLAGS
dummy NULL init for vars to deal with warnings

tests/old/testsuite/threads/Makefile.am
tests/old/testsuite/threads/threadd.c
tests/old/testsuite/threads/threade.c
testsuite/threads/Makefile.am
testsuite/threads/threadd.c
testsuite/threads/threade.c

index 25ac444..2c42a6b 100644 (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)
index c28b4c0..c090254 100644 (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;
 
index e03db7d..1fc4af8 100644 (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;
 
index 25ac444..2c42a6b 100644 (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)
index c28b4c0..c090254 100644 (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;
 
index e03db7d..1fc4af8 100644 (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;