diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2013-05-07 01:28:54 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2013-05-07 01:28:54 +0000 |
commit | 3ed95068274ef9d32fbdde3d1936d8fc099af7cb (patch) | |
tree | fe7de40d2e5937943d88faaedadfadb976218a16 /sys/arch/vax | |
parent | 7cd8cd9d1c1ec6a4eb868fbafb40d50381d1d6c8 (diff) |
remove an unreferenced var that accessed uninitialised memory
ok miod@
Diffstat (limited to 'sys/arch/vax')
-rw-r--r-- | sys/arch/vax/mscp/mscp_tape.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/vax/mscp/mscp_tape.c b/sys/arch/vax/mscp/mscp_tape.c index a249dae0e9a..a8759f2b52a 100644 --- a/sys/arch/vax/mscp/mscp_tape.c +++ b/sys/arch/vax/mscp/mscp_tape.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mscp_tape.c,v 1.14 2012/12/05 23:20:15 deraadt Exp $ */ +/* $OpenBSD: mscp_tape.c,v 1.15 2013/05/07 01:28:53 jsg Exp $ */ /* $NetBSD: mscp_tape.c,v 1.16 2001/11/13 07:38:28 lukem Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -432,9 +432,7 @@ mtioctl(dev, cmd, data, flag, p) struct mt_softc *mt = mt_cd.cd_devs[unit]; struct mtop *mtop; struct mtget *mtget; - int error = 0, count; - - count = mtop->mt_count; + int error = 0; switch (cmd) { |