From e3afb1d2b9f9082410c46e5234edcae26e2c61db Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Mon, 3 Mar 2008 10:45:53 -0600 Subject: [PATCH] Fix stupid memcmp bug --- lib/c/freestanding/string.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/c/freestanding/string.c b/lib/c/freestanding/string.c index 0241f91..f1ede1e 100644 --- a/lib/c/freestanding/string.c +++ b/lib/c/freestanding/string.c @@ -51,8 +51,6 @@ int memcmp(const void *b1, const void *b2, size_t len) for (pos = 0; pos < len; pos++) { if (c1[pos] != c2[pos]) return c1[pos] - c2[pos]; - - pos++; } return 0; -- 2.39.2