diff options
author | Marius Kintel <marius@kintel.net> | 2012-03-28 01:53:09 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-03-28 01:53:09 (GMT) |
commit | 3019295737c5085af8e75d806702b7852ee5511d (patch) | |
tree | e73e5d4b96c363ac5c92dae85c2c02a4b6ec8870 /src/module.cc | |
parent | 4394c7a030ce7a08c95bd1af2e8c38ffcf972439 (diff) |
Less debug output
Diffstat (limited to 'src/module.cc')
-rw-r--r-- | src/module.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/module.cc b/src/module.cc index 69623dd..fc849ff 100644 --- a/src/module.cc +++ b/src/module.cc @@ -225,8 +225,12 @@ bool Module::handleDependencies() Module::ModuleContainer::iterator curr = iter++; Module *oldmodule = curr->second; curr->second = ModuleCache::instance()->evaluate(curr->first); - if (curr->second != oldmodule) changed = true; - PRINTB_NOCACHE(" %s: %p", curr->first % curr->second); + if (curr->second != oldmodule) { + changed = true; +#ifdef DEBUG + PRINTB_NOCACHE(" %s: %p", curr->first % curr->second); +#endif + } if (!curr->second) { PRINTB_NOCACHE("WARNING: Failed to compile library '%s'.", curr->first); this->usedlibs.erase(curr); |