diff options
author | ed <ed@FreeBSD.org> | 2009-02-26 12:06:46 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-02-26 12:06:46 +0000 |
commit | 0f8dee0434fc59eb4c1823c1e692d1d177aafe8f (patch) | |
tree | 00ba5a76df98ee74ee5bba09563d1d9bfa3d50df /sys | |
parent | 49be8ddba057316197c0e7b30eef2f03cc3e2da6 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/libkern/strtouq.c | 1 |
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)); |