summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 33b5f5d16..075d013e5 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -615,7 +615,7 @@ struct PrintSExpression : public Visitor<PrintSExpression> {
void printTableHeader(Table* curr) {
printOpening(o, "table") << ' ';
o << curr->initial;
- if (curr->max && curr->max != Table::kMaxSize) o << ' ' << curr->max;
+ if (curr->max != Table::kMaxSize) o << ' ' << curr->max;
o << " anyfunc)";
}
void visitTable(Table *curr) {