Fix a {} bug which doesn't have any effect yet.

Spotted by:	jake
This commit is contained in:
Poul-Henning Kamp 2002-04-27 07:07:37 +00:00
parent f175569ac2
commit 50d866ce0f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95550

View File

@ -290,13 +290,12 @@ redo_rank(struct g_geom *gp)
continue;
/* no rank to original geom means loop */
if (gp == gp1) {
if (gp == gp1)
return (ELOOP);
/* no rank, put it at the end move on */
TAILQ_REMOVE(&geoms, gp1, geoms);
TAILQ_INSERT_TAIL(&geoms, gp1, geoms);
}
}
return (0);
}