From owner-svn-src-head@FreeBSD.ORG Thu Feb 26 12:06:47 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F34B410656C7; Thu, 26 Feb 2009 12:06:46 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D81378FC19; Thu, 26 Feb 2009 12:06:46 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1QC6kLi027114; Thu, 26 Feb 2009 12:06:46 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1QC6kF7027113; Thu, 26 Feb 2009 12:06:46 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <200902261206.n1QC6kF7027113@svn.freebsd.org> From: Ed Schouten Date: Thu, 26 Feb 2009 12:06:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189065 - head/sys/libkern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 12:06:56 -0000 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));