summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-07-15 20:03:25 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-15 20:14:12 -0300
commit9077c0bf7f2b3e0448da5bddfbb26c11f4ef7d7d (patch)
tree079865cae82b698f914ad00da49c3f335006c8bf /unit
parent2e51814f324e2812ec358dd8d0600b88210b06e5 (diff)
downloadofono-9077c0bf7f2b3e0448da5bddfbb26c11f4ef7d7d.tar.bz2
unit: Avoid shadowing hex_packed variable
Diffstat (limited to 'unit')
-rw-r--r--unit/test-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unit/test-util.c b/unit/test-util.c
index 481c123c..079d775e 100644
--- a/unit/test-util.c
+++ b/unit/test-util.c
@@ -508,7 +508,7 @@ static void test_valid_turkish(void)
}
}
-static const char hex_packed[] = "493A283D0795C3F33C88FE06C9CB6132885EC6D34"
+static const char hex_packed_sms[] = "493A283D0795C3F33C88FE06C9CB6132885EC6D34"
"1EDF27C1E3E97E7207B3A0C0A5241E377BB1D"
"7693E72E";
static const char expected[] = "It is easy to read text messages via AT "
@@ -517,7 +517,7 @@ static int reported_text_size = 49;
static void test_decode_encode(void)
{
- const char *sms = hex_packed;
+ const char *sms = hex_packed_sms;
unsigned char *decoded, *packed;
char *utf8, *hex_packed;
unsigned char *gsm, *gsm_encoded;