projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19fdb18
)
testutils: Remove unused variable
author
Benjamin Otte
<otte@redhat.com>
Mon, 18 Apr 2011 12:37:24 +0000
(14:37 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 18 Apr 2011 12:49:51 +0000
(14:49 +0200)
glib/gtestutils.c
patch
|
blob
|
history
diff --git
a/glib/gtestutils.c
b/glib/gtestutils.c
index
7488ec3
..
9ddad88
100644
(file)
--- 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++;
}