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-unsubscr...@freebsd.org"