Date: Thu, 26 Feb 2009 12:06:46 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r189065 - head/sys/libkern Message-ID: <200902261206.n1QC6kF7027113@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902261206.n1QC6kF7027113>