diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2010-05-21 06:57:46 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2010-05-21 06:57:46 +0000 |
commit | d7c36e22f127ec1f775e8ca6a17c6c283ae7fde4 (patch) | |
tree | 1930b71a271f457cd01c55955ca8e6428dd94d7c | |
parent | 229059405b6e40b6c2a1d3a46c7849d0a3edc146 (diff) |
remove unused variable.
ok millert@ tedu@
-rw-r--r-- | lib/libc/string/strnlen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/string/strnlen.c b/lib/libc/string/strnlen.c index 5c999947444..0c6df381fc7 100644 --- a/lib/libc/string/strnlen.c +++ b/lib/libc/string/strnlen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strnlen.c,v 1.1 2010/05/18 22:24:55 tedu Exp $ */ +/* $OpenBSD: strnlen.c,v 1.2 2010/05/21 06:57:45 chl Exp $ */ /* * Copyright (c) 2010 Todd C. Miller <Todd.Miller@courtesan.com> @@ -24,7 +24,6 @@ size_t strnlen(const char *str, size_t maxlen) { const char *cp, *ep; - size_t len; ep = str + maxlen; for (cp = str; cp < ep && *cp != '\0'; cp++) |