From 0be486c58b1cb40f898e3504b6b80b4a0462145b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 21 Jan 2010 04:59:45 -0500 Subject: Fixed assertion failure in -M -A bal report --- src/account.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/account.cc') diff --git a/src/account.cc b/src/account.cc index e6c7af56..f8729409 100644 --- a/src/account.cc +++ b/src/account.cc @@ -512,7 +512,7 @@ void account_t::xdata_t::details_t::update(post_t& post, if (post.has_flags(POST_VIRTUAL)) posts_virtuals_count++; - if (gather_all) + if (gather_all && post.pos) filenames.insert(post.pos->pathname); date_t date = post.date(); -- cgit v1.2.3