aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-08-14 22:03:20 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-08-14 22:03:20 +0100
commita4b2347fe0fbfb312709670025e0ad27fec02ad9 (patch)
tree04dba093fed57c0121dcc66adc91161627a447d1
parent4c30c604d58bae27a1d6a23ac184773da2bbad12 (diff)
downloadpaludis-a4b2347fe0fbfb312709670025e0ad27fec02ad9.tar.gz
paludis-a4b2347fe0fbfb312709670025e0ad27fec02ad9.tar.xz
might be null
-rw-r--r--src/clients/cave/cmd_resolve_dump.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clients/cave/cmd_resolve_dump.cc b/src/clients/cave/cmd_resolve_dump.cc
index 86ff75e..e4c5056 100644
--- a/src/clients/cave/cmd_resolve_dump.cc
+++ b/src/clients/cave/cmd_resolve_dump.cc
@@ -47,7 +47,7 @@ paludis::cave::dump_if_requested(
{
std::cout << c->first << std::endl;
std::cout << " = " << *c->second << std::endl;
- if (cmdline.a_dump_dependencies.specified())
+ if (cmdline.a_dump_dependencies.specified() && c->second->sanitised_dependencies())
for (SanitisedDependencies::ConstIterator d(c->second->sanitised_dependencies()->begin()),
d_end(c->second->sanitised_dependencies()->end()) ;
d != d_end ; ++d)