aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-09-04 00:15:02 -0500
committerDan Williams <dcbw@redhat.com>2010-09-04 00:15:02 -0500
commit85f827ddffab7b320effdb02572e1751b62e2e60 (patch)
tree8944b9c311e09d40aa41f79c534b37ef4df96ec5
parent34709e0c7b8a1e7db4221343091bb8662d9814a3 (diff)
trivial: remove unused code
-rw-r--r--src/tests/test-charsets.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tests/test-charsets.c b/src/tests/test-charsets.c
index dd9c7c8a..656b80ca 100644
--- a/src/tests/test-charsets.c
+++ b/src/tests/test-charsets.c
@@ -209,17 +209,16 @@ test_pack_gsm7_7_chars (void *f, gpointer d)
static void
print_array (const guint8 *array, guint32 len)
{
- int col, foo;
+ int col;
guint8 c;
g_print ("\n");
- for (c = 0, col = 0, foo = 0; c < len; c++) {
+ for (c = 0, col = 0; c < len; c++) {
g_print ("0x%02X, ", array[c] & 0xFF);
if (col++ == 11) {
col = 0;
g_print ("\n");
}
- foo = 1;
}
g_print ("\n");
}