1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-14 14:55:41 +00:00

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:
John Baldwin 2002-11-08 14:00:44 +00:00
parent 7f55ebcd18
commit a96977d0ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106622
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;