tests/examples/equalizer/demo.c: C89 fix, moving variable declarations to the beginni...
authorJens Granseuer <jensgr@gmx.net>
Fri, 22 Feb 2008 05:39:01 +0000 (05:39 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 22 Feb 2008 05:39:01 +0000 (05:39 +0000)
Original commit message from CVS:
Patch by: Jens Granseuer <jensgr at gmx dot net>
* tests/examples/equalizer/demo.c: (main):
C89 fix, moving variable declarations to the beginning of
the block. Fixes bug #517933.

ChangeLog
tests/examples/equalizer/demo.c

index 286c1a9..2682f7d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-02-22  Sebastian Dröge  <slomo@circular-chaos.org>
+
+       Patch by: Jens Granseuer <jensgr at gmx dot net>
+
+       * tests/examples/equalizer/demo.c: (main):
+       C89 fix, moving variable declarations to the beginning of
+       the block. Fixes bug #517933.
+
 2008-02-21  Jan Schmidt  <jan.schmidt@sun.com>
 
        * configure.ac:
index 4351846..557775e 100644 (file)
@@ -126,6 +126,7 @@ main (int argc, char *argv[])
   GstCaps *caps;
   GstBus *bus;
   GtkWidget *appwindow, *vbox, *hbox, *widget;
+  int i;
 
   gst_init (&argc, &argv);
   gtk_init (&argc, &argv);
@@ -178,8 +179,6 @@ main (int argc, char *argv[])
 
   hbox = gtk_hbox_new (FALSE, 20);
 
-  int i;
-
   for (i = 0; i < NBANDS; i++) {
     GstObject *band;
     gdouble freq;