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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to