X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=lib%2Fc%2Ffreestanding%2Fstring.c;h=f1ede1e8fee6ec50cb6041016078680b433e126b;hp=0241f91b5c10176ef2fb8f54fc3b179e16717699;hb=e3afb1d2b9f9082410c46e5234edcae26e2c61db;hpb=39d6852ead7a839f9e15e21e517dfd7a795e5cdd 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;