diff options
author | eadler <eadler@FreeBSD.org> | 2011-12-02 15:41:09 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2011-12-02 15:41:09 +0000 |
commit | bdf8a555586d799896e0aff9adf1ed4749ab120a (patch) | |
tree | 79db9bd23938fe17ea1235cae91996780fe749aa /lib/libc/string/strcmp.c | |
parent | e5b89f2d70c0092ae178473393348aa3de7e2745 (diff) | |
download | FreeBSD-src-bdf8a555586d799896e0aff9adf1ed4749ab120a.zip FreeBSD-src-bdf8a555586d799896e0aff9adf1ed4749ab120a.tar.gz |
Revert r227812 and r227808 per discussion
Reviewed by: many
Approved by: des
Diffstat (limited to 'lib/libc/string/strcmp.c')
-rw-r--r-- | lib/libc/string/strcmp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/string/strcmp.c b/lib/libc/string/strcmp.c index 70fd22d..95c778d 100644 --- a/lib/libc/string/strcmp.c +++ b/lib/libc/string/strcmp.c @@ -44,9 +44,6 @@ __FBSDID("$FreeBSD$"); int strcmp(const char *s1, const char *s2) { - if (s1 == s2) - return (0); - while (*s1 == *s2++) if (*s1++ == '\0') return (0); |