From ec5ec48956e91932279ef025f0d98946f0f32585 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Mon, 25 Feb 2013 10:15:10 +0000 Subject: [PATCH] butc: Remove dead initialisation code is set to a real value on every code path, so don't bother initialising it to 0 midway through the function. Change-Id: I334286f2ae854c57df781af8df78e5a1bf8e9b2b Reviewed-on: http://gerrit.openafs.org/9256 Tested-by: BuildBot Reviewed-by: Derrick Brashear Reviewed-by: Jeffrey Altman --- src/butc/tcudbprocs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/butc/tcudbprocs.c b/src/butc/tcudbprocs.c index 322c617659..b9ecf495d9 100644 --- a/src/butc/tcudbprocs.c +++ b/src/butc/tcudbprocs.c @@ -821,7 +821,6 @@ readDbTape(struct butm_tapeInfo *tapeInfoPtr, if (!code) strcpy(tapeName, te.name); } - code = 0; while (1) { /*w */ if (interactiveFlag) { /* need a tape to read */