aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc-depend.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-04-26 14:59:07 +0000
committerRoy Marples <roy@marples.name>2008-04-26 14:59:07 +0000
commit3c2b93fc9c607b3cd9965d0c84db5e32caaa46c4 (patch)
tree614a48c146a9fdf673051aa250cd5c148823bd33 /src/librc/librc-depend.c
parentb5d829789f6f4fabb02b7e995267f6e906b002ef (diff)
Check we have a list before running depends.
Diffstat (limited to 'src/librc/librc-depend.c')
-rw-r--r--src/librc/librc-depend.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c
index c28ccc77..ac8245fd 100644
--- a/src/librc/librc-depend.c
+++ b/src/librc/librc-depend.c
@@ -566,9 +566,6 @@ RC_STRINGLIST *rc_deptree_order(const RC_DEPTREE *deptree,
}
}
- if (!list)
- return NULL;
-
/* Now we have our lists, we need to pull in any dependencies
and order them */
types = rc_stringlist_new();