summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-06-02 14:59:23 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-06-02 15:06:55 +0200
commit7b97c8a8307ce1c20af0dcfa09ac9ee7a8d3350f (patch)
treee81553b4bf28ac325bd3eda23b11574a028f1846 /tests
parenta43297d6c71b3bf13309ab421abf0c737972608c (diff)
don't use for loop variable declarations
Diffstat (limited to 'tests')
-rw-r--r--tests/wocky-test-sasl-auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wocky-test-sasl-auth.c b/tests/wocky-test-sasl-auth.c
index ea956bf..166f232 100644
--- a/tests/wocky-test-sasl-auth.c
+++ b/tests/wocky-test-sasl-auth.c
@@ -270,6 +270,7 @@ main (int argc,
char **argv)
{
int result;
+ guint i;
test_t tests[] = {
SUCCESS("/xmpp-sasl/normal-auth", NULL, TRUE),
SUCCESS("/xmpp-sasl/no-plain", NULL, FALSE),
@@ -335,7 +336,7 @@ main (int argc,
mainloop = g_main_loop_new (NULL, FALSE);
- for (guint i = 0; i < G_N_ELEMENTS (tests); i++)
+ for (i = 0; i < G_N_ELEMENTS (tests); i++)
g_test_add_data_func (tests[i].description,
&tests[i], run_test);