diff options
author | Jens Granseuer <jensgr@gmx.net> | 2008-02-22 05:39:01 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-02-22 05:39:01 +0000 |
commit | 73a4369e0e3cf05a2ac57726bdd946fb271ded0d (patch) | |
tree | 440346166eb82f175a5fd64535cacd9a452e1d4a | |
parent | 9d3899442856e614dcc0e11875d3e4c256926bc9 (diff) |
tests/examples/equalizer/demo.c: C89 fix, moving variable declarations to the beginning of the block. Fixes bug #517933.
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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | tests/examples/equalizer/demo.c | 3 |
2 files changed, 9 insertions, 2 deletions
@@ -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: diff --git a/tests/examples/equalizer/demo.c b/tests/examples/equalizer/demo.c index 43518463..557775eb 100644 --- a/tests/examples/equalizer/demo.c +++ b/tests/examples/equalizer/demo.c @@ -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; |