Remove warning. Empty expressions might exist in real applications without being an error.
This commit is contained in:
parent
586cdff6e8
commit
36918e4a8b
1 changed files with 0 additions and 4 deletions
|
@ -70,10 +70,6 @@ void text_node::apply(char_properties const& p, Feature const& feature, processe
|
||||||
}
|
}
|
||||||
if (text_str.length() > 0) {
|
if (text_str.length() > 0) {
|
||||||
output.push_back(p, text_str);
|
output.push_back(p, text_str);
|
||||||
} else {
|
|
||||||
#ifdef MAPNIK_DEBUG
|
|
||||||
std::cerr << "Warning: Empty expression.\n";
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue