From owner-svn-src-head@FreeBSD.ORG Thu Feb 26 19:15:21 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 CC63A1065687; Thu, 26 Feb 2009 19:15:21 +0000 (UTC) (envelope-from owner-svn-src-all@freebsd.org) Received: from forwards5.yandex.ru (forwards5.yandex.ru [77.88.61.37]) by mx1.freebsd.org (Postfix) with ESMTP id 61D038FC35; Thu, 26 Feb 2009 19:15:21 +0000 (UTC) (envelope-from owner-svn-src-all@freebsd.org) Received: from mxfront7.yandex.ru (mxfront7.yandex.ru [77.88.47.143]) by forwards5.yandex.ru (Yandex) with ESMTP id 5CBE4B042F2; Thu, 26 Feb 2009 22:05:23 +0300 (MSK) Received: from mx2.freebsd.org ([69.147.83.53]:61904 "EHLO mx2.freebsd.org" smtp-auth: TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S5132419AbZBZMDd for (+ 2 others); Thu, 26 Feb 2009 15:03:33 +0300 X-Yandex-TimeMark: 1235649811 X-Yandex-Spam: 2 X-Yandex-Front: mxfront7 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 692411588C5; Thu, 26 Feb 2009 12:03:30 +0000 (UTC) (envelope-from owner-svn-src-all@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 4396A106576D; Thu, 26 Feb 2009 12:03:30 +0000 (UTC) (envelope-from owner-svn-src-all@freebsd.org) Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B7AC10658C1; Thu, 26 Feb 2009 12:02:39 +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 4A2E38FC24; Thu, 26 Feb 2009 12:02:39 +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 n1QC2cIw027008; Thu, 26 Feb 2009 12:02:38 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1QC2cB6027007; Thu, 26 Feb 2009 12:02:38 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <200902261202.n1QC2cB6027007@svn.freebsd.org> From: Ed Schouten Date: Thu, 26 Feb 2009 12:02:38 +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 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-svn-src-all@freebsd.org Errors-To: owner-svn-src-all@freebsd.org Cc: Subject: svn commit: r189064 - head/sys/dev/syscons X-BeenThere: svn-src-head@freebsd.org 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 19:15:22 -0000 Author: ed Date: Thu Feb 26 12:02:38 2009 New Revision: 189064 URL: http://svn.freebsd.org/changeset/base/189064 Log: Remove unneeded variable assignment. The ts variable is always initialized a few lines below. Found by: LLVM scan-build Modified: head/sys/dev/syscons/scterm-teken.c Modified: head/sys/dev/syscons/scterm-teken.c ============================================================================== --- head/sys/dev/syscons/scterm-teken.c Thu Feb 26 10:56:13 2009 (r189063) +++ head/sys/dev/syscons/scterm-teken.c Thu Feb 26 12:02:38 2009 (r189064) @@ -108,7 +108,7 @@ static const teken_funcs_t scteken_funcs static int scteken_init(scr_stat *scp, void **softc, int code) { - teken_stat *ts = scp->ts; + teken_stat *ts; teken_pos_t tp; if (*softc == NULL) { _______________________________________________ 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-unsubscribe@freebsd.org"