summaryrefslogtreecommitdiff
path: root/symtable.cc
diff options
context:
space:
mode:
Diffstat (limited to 'symtable.cc')
-rw-r--r--symtable.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/symtable.cc b/symtable.cc
index eedb25a4e5..e963b64d12 100644
--- a/symtable.cc
+++ b/symtable.cc
@@ -13,9 +13,7 @@ Symtable::lookup(String s) const
if (elt_query(s))
return (*this)[s];
else {
- Symbol unknown;
- WARN<<"Unknown symbol " << s <<'\n';
- return unknown;
+ error( "Unknown symbol " +s+'\n');
}
}