svn commit: r189065 - head/sys/libkern
Ed Schouten
ed at FreeBSD.org
Thu Feb 26 04:06:56 PST 2009
Author: ed
Date: Thu Feb 26 12:06:46 2009
New Revision: 189065
URL: http://svn.freebsd.org/changeset/base/189065
Log:
Remove redundant assignment of `s'.
The variable is already initialized to `nptr'.
Found by: LLVM's scan-build
Modified:
head/sys/libkern/strtouq.c
Modified: head/sys/libkern/strtouq.c
==============================================================================
--- head/sys/libkern/strtouq.c Thu Feb 26 12:02:38 2009 (r189064)
+++ head/sys/libkern/strtouq.c Thu Feb 26 12:06:46 2009 (r189065)
@@ -56,7 +56,6 @@ strtouq(const char *nptr, char **endptr,
/*
* See strtoq for comments as to the logic used.
*/
- s = nptr;
do {
c = *s++;
} while (isspace(c));
More information about the svn-src-all
mailing list