Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 12:02:38 +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: r189064 - head/sys/dev/syscons
Message-ID:  <200902261202.n1QC2cB6027007@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902261202.n1QC2cB6027007>