From f8b346528f63f62066c4f543f9c55e988ae7cc2c Mon Sep 17 00:00:00 2001 From: chl <> Date: Fri, 21 May 2010 06:57:45 +0000 Subject: remove unused variable. ok millert@ tedu@ --- src/lib/libc/string/strnlen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/libc/string/strnlen.c') diff --git a/src/lib/libc/string/strnlen.c b/src/lib/libc/string/strnlen.c index 5c99994744..0c6df381fc 100644 --- a/src/lib/libc/string/strnlen.c +++ b/src/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 @@ -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++) -- cgit v1.2.3-55-g6feb