summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-02-26 12:06:46 +0000
committered <ed@FreeBSD.org>2009-02-26 12:06:46 +0000
commit0f8dee0434fc59eb4c1823c1e692d1d177aafe8f (patch)
tree00ba5a76df98ee74ee5bba09563d1d9bfa3d50df /sys/libkern
parent49be8ddba057316197c0e7b30eef2f03cc3e2da6 (diff)
downloadFreeBSD-src-0f8dee0434fc59eb4c1823c1e692d1d177aafe8f.zip
FreeBSD-src-0f8dee0434fc59eb4c1823c1e692d1d177aafe8f.tar.gz
Remove redundant assignment of `s'.
The variable is already initialized to `nptr'. Found by: LLVM's scan-build
Diffstat (limited to 'sys/libkern')
-rw-r--r--sys/libkern/strtouq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/libkern/strtouq.c b/sys/libkern/strtouq.c
index 4ed72a1..5877396 100644
--- a/sys/libkern/strtouq.c
+++ b/sys/libkern/strtouq.c
@@ -56,7 +56,6 @@ strtouq(const char *nptr, char **endptr, int base)
/*
* See strtoq for comments as to the logic used.
*/
- s = nptr;
do {
c = *s++;
} while (isspace(c));
OpenPOWER on IntegriCloud