summaryrefslogtreecommitdiff
path: root/src/error-handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/error-handler.cc')
-rw-r--r--src/error-handler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/error-handler.cc b/src/error-handler.cc
index da61230e..7c70281f 100644
--- a/src/error-handler.cc
+++ b/src/error-handler.cc
@@ -103,8 +103,9 @@ bool ErrorHandlerFile::OnError(const Location& loc,
}
void ErrorHandlerFile::PrintErrorHeader() {
- if (header_.empty())
+ if (header_.empty()) {
return;
+ }
switch (print_header_) {
case PrintHeader::Never: