From 28dea1c39a5dfc0aef4f592c9560b00b4c0ba30e Mon Sep 17 00:00:00 2001 From: mkarlesky Date: Thu, 19 Feb 2009 15:45:16 +0000 Subject: [PATCH] corrected typos in hex printing and memory compare git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@18 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e --- src/unity.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/unity.c b/src/unity.c index 888ad0e..866c224 100644 --- a/src/unity.c +++ b/src/unity.c @@ -96,7 +96,7 @@ void UnityPrintNumberUnsigned(const unsigned long number) void UnityPrintNumberHex(const unsigned long number, const char nibbles_to_print) { unsigned long nibble; - char nibbles; + char nibbles = nibbles_to_print; UnityPrint("0x"); while (nibbles > 0) @@ -324,7 +324,6 @@ void UnityAssertEqualMemory(void* expected, const char* msg, unsigned short lineNumber) { - unsigned int i; if (length == 0) return;