From: Simon Wilkinson Date: Mon, 25 Feb 2013 10:15:10 +0000 (+0000) Subject: butc: Remove dead initialisation X-Git-Tag: upstream/1.8.0_pre1^2~1425 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ec5ec48956e91932279ef025f0d98946f0f32585;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/butc/tcudbprocs.c b/src/butc/tcudbprocs.c index 322c61765..b9ecf495d 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 */