summaryrefslogtreecommitdiffstats
path: root/dwflpp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dwflpp.cxx')
-rw-r--r--dwflpp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwflpp.cxx b/dwflpp.cxx
index 01cfddaa..e6e7b471 100644
--- a/dwflpp.cxx
+++ b/dwflpp.cxx
@@ -124,7 +124,7 @@ dwflpp::get_module_dwarf(bool required, bool report)
if (required)
throw semantic_error (msg);
- else
+ else if (! sess.suppress_warnings)
cerr << "WARNING: " << msg << "\n";
}
}