From 44cf4dd0f18f6a26c184d11bdc2dd8b8abf2a8c5 Mon Sep 17 00:00:00 2001 From: ntrifunovic Date: Sat, 9 Feb 2013 21:55:13 +0000 Subject: [PATCH] Fixing a smoke-test warning git-svn-id: http://svn.code.sf.net/p/utfcpp/code@134 a809a056-fc17-0410-9590-b4f493f8b08e --- test_drivers/smoke_test/test.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test_drivers/smoke_test/test.cpp b/test_drivers/smoke_test/test.cpp index b440ae6..9273da2 100644 --- a/test_drivers/smoke_test/test.cpp +++ b/test_drivers/smoke_test/test.cpp @@ -10,16 +10,16 @@ int main() //append unsigned char u[5] = {0,0,0,0,0}; - unsigned char* end = append(0x0448, u); + append(0x0448, u); assert (u[0] == 0xd1 && u[1] == 0x88 && u[2] == 0 && u[3] == 0 && u[4] == 0); - end = append(0x65e5, u); + append(0x65e5, u); assert (u[0] == 0xe6 && u[1] == 0x97 && u[2] == 0xa5 && u[3] == 0 && u[4] == 0); - end = append(0x3044, u); + append(0x3044, u); assert (u[0] == 0xe3 && u[1] == 0x81 && u[2] == 0x84 && u[3] == 0 && u[4] == 0); - end = append(0x10346, u); + append(0x10346, u); assert (u[0] == 0xf0 && u[1] == 0x90 && u[2] == 0x8d && u[3] == 0x86 && u[4] == 0); @@ -183,13 +183,13 @@ int main() //append memset(u, 0, 5); - end = unchecked::append(0x0448, u); + append(0x0448, u); assert (u[0] == 0xd1 && u[1] == 0x88 && u[2] == 0 && u[3] == 0 && u[4] == 0); - end = unchecked::append(0x65e5, u); + append(0x65e5, u); assert (u[0] == 0xe6 && u[1] == 0x97 && u[2] == 0xa5 && u[3] == 0 && u[4] == 0); - end = unchecked::append(0x10346, u); + append(0x10346, u); assert (u[0] == 0xf0 && u[1] == 0x90 && u[2] == 0x8d && u[3] == 0x86 && u[4] == 0); //next