Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2010 18:58:03 +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: r202583 - head/sys/kern
Message-ID:  <201001181858.o0IIw3F3049358@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Mon Jan 18 18:58:03 2010
New Revision: 202583
URL: http://svn.freebsd.org/changeset/base/202583

Log:
  Remove a dead initialization.
  
  Spotted by:	scan-build (uqs)

Modified:
  head/sys/kern/tty_inq.c

Modified: head/sys/kern/tty_inq.c
==============================================================================
--- head/sys/kern/tty_inq.c	Mon Jan 18 18:37:47 2010	(r202582)
+++ head/sys/kern/tty_inq.c	Mon Jan 18 18:58:03 2010	(r202583)
@@ -379,7 +379,7 @@ ttyinq_findchar(struct ttyinq *ti, const
 void
 ttyinq_flush(struct ttyinq *ti)
 {
-	struct ttyinq_block *tib = ti->ti_lastblock;
+	struct ttyinq_block *tib;
 
 	ti->ti_begin = 0;
 	ti->ti_linestart = 0;



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