bosserver: Remove a couple of dead assignments

Remove a couple of places where we initialise a variable, only to
assign a new value to it a few lines later.

Caught by clang-analyzer

Change-Id: I096b80cce851f3494475e6f9683715b081ff8375
Reviewed-on: http://gerrit.openafs.org/9208
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
Simon Wilkinson 2013-02-21 20:55:35 +00:00 committed by Derrick Brashear
parent e595d35c18
commit 5d2d68f8ac

View File

@ -299,7 +299,6 @@ ReadBozoFile(char *aname)
for (code = 0; code < MAXPARMS; code++)
parms[code] = NULL;
tfile = (FILE *) 0;
if (!aname)
aname = (char *)bozo_fileName;
tfile = fopen(aname, "r");
@ -307,7 +306,7 @@ ReadBozoFile(char *aname)
return 0; /* -1 */
instp = malloc(BOZO_BSSIZE);
typep = malloc(BOZO_BSSIZE);
notifier = notp = malloc(BOZO_BSSIZE);
notp = malloc(BOZO_BSSIZE);
while (1) {
/* ok, read lines giving parms and such from the file */
tp = fgets(tbuffer, sizeof(tbuffer), tfile);