Don't set a variable to a bogus value right before setting it to the

correct value in the next statement.
This commit is contained in:
jhb 2002-11-08 14:00:44 +00:00
parent c849fe6dd8
commit fa9c6cb843
2 changed files with 0 additions and 2 deletions

View File

@ -110,7 +110,6 @@ Write_Disk(const struct disk *d1)
for (c1 = d1->chunks->part; c1; c1 = c1->next) {
if (c1->type == unused) continue;
if (!strcmp(c1->name, "X")) continue;
j = c1->name[4] - '1';
j = c1->name[strlen(d1->name) + 1] - '1';
if (j < 0 || j > 3)
continue;

View File

@ -110,7 +110,6 @@ Write_Disk(const struct disk *d1)
for (c1 = d1->chunks->part; c1; c1 = c1->next) {
if (c1->type == unused) continue;
if (!strcmp(c1->name, "X")) continue;
j = c1->name[4] - '1';
j = c1->name[strlen(d1->name) + 1] - '1';
if (j < 0 || j > 3)
continue;