1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Non-operational change, fix compiler warning.

Reviewed by:  mckusick
This commit is contained in:
Matthew Dillon 2000-01-14 04:39:28 +00:00
parent 9bfb3cb2c7
commit 173cce7c8e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55947
2 changed files with 2 additions and 2 deletions

View File

@ -640,7 +640,7 @@ softdep_move_dependencies(oldbp, newbp)
panic("softdep_move_dependencies: need merge code");
wktail = 0;
ACQUIRE_LOCK(&lk);
while (wk = LIST_FIRST(&oldbp->b_dep)) {
while ((wk = LIST_FIRST(&oldbp->b_dep)) != NULL) {
LIST_REMOVE(wk, wk_list);
if (wktail == 0)
LIST_INSERT_HEAD(&newbp->b_dep, wk, wk_list);

View File

@ -640,7 +640,7 @@ softdep_move_dependencies(oldbp, newbp)
panic("softdep_move_dependencies: need merge code");
wktail = 0;
ACQUIRE_LOCK(&lk);
while (wk = LIST_FIRST(&oldbp->b_dep)) {
while ((wk = LIST_FIRST(&oldbp->b_dep)) != NULL) {
LIST_REMOVE(wk, wk_list);
if (wktail == 0)
LIST_INSERT_HEAD(&newbp->b_dep, wk, wk_list);