From 0809e538e1d80887add765e90b359df9608b4403 Mon Sep 17 00:00:00 2001 From: chl <> Date: Fri, 21 May 2010 06:57:45 +0000 Subject: [PATCH] remove unused variable. ok millert@ tedu@ --- src/lib/libc/string/strnlen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/libc/string/strnlen.c b/src/lib/libc/string/strnlen.c index 5c999947..0c6df381 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++)