summaryrefslogtreecommitdiffstats
path: root/src/state.cc
diff options
context:
space:
mode:
authorRobert Iannucci <robbie@rail.com>2012-11-10 19:35:02 (GMT)
committerRobert Iannucci <robbie@rail.com>2012-11-10 19:43:20 (GMT)
commitc068fcc4fd3fc9d83b58fceb7a59497c86e10e11 (patch)
tree73d2c823d9160d43c352cb96bd6e30c8eeb79b80 /src/state.cc
parent0daed0f865fc5fca6b83610db438edefe21dbce1 (diff)
downloadNinja-c068fcc4fd3fc9d83b58fceb7a59497c86e10e11.zip
Ninja-c068fcc4fd3fc9d83b58fceb7a59497c86e10e11.tar.gz
Ninja-c068fcc4fd3fc9d83b58fceb7a59497c86e10e11.tar.bz2
Make edge dump pool name, and skip default pool
Diffstat (limited to 'src/state.cc')
-rw-r--r--src/state.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/state.cc b/src/state.cc
index b0da350..0fb696e 100644
--- a/src/state.cc
+++ b/src/state.cc
@@ -203,7 +203,9 @@ void State::Dump() {
for (map<string, Pool*>::const_iterator it = pools_.begin();
it != pools_.end(); ++it)
{
- it->second->Dump();
+ if (!it->second->name().empty()) {
+ it->second->Dump();
+ }
}
}
}