svn commit: r189065 - head/sys/libkern
Ed Schouten
ed at FreeBSD.org
Thu Feb 26 11:31:12 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));
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the svn-src-head
mailing list