From: Benjamin Otte Date: Mon, 18 Apr 2011 12:37:24 +0000 (+0200) Subject: testutils: Remove unused variable X-Git-Tag: 2.29.4~42^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62e68ceec8cfad06fffb00fd23ccaad3fc0f476e;p=platform%2Fupstream%2Fglib.git testutils: Remove unused variable --- diff --git a/glib/gtestutils.c b/glib/gtestutils.c index 7488ec3..9ddad88 100644 --- a/glib/gtestutils.c +++ b/glib/gtestutils.c @@ -1202,7 +1202,7 @@ static int g_test_run_suite_internal (GTestSuite *suite, const char *path) { - guint n_bad = 0, n_good = 0, bad_suite = 0, l; + guint n_bad = 0, bad_suite = 0, l; gchar *rest, *old_name = test_run_name; GSList *slist, *reversed; g_return_val_if_fail (suite != NULL, -1); @@ -1219,7 +1219,6 @@ g_test_run_suite_internal (GTestSuite *suite, guint n = l ? strlen (tc->name) : 0; if (l == n && strncmp (path, tc->name, n) == 0) { - n_good++; if (!test_case_run (tc)) n_bad++; }