Don't add "(not used)" to config decls when writing them, it makes it harder to write out a config.prc file

This commit is contained in:
rdb 2015-08-26 14:57:30 +02:00
parent 09f2bea96f
commit d68bbae5b4

View File

@ -163,9 +163,9 @@ output(ostream &out) const {
void ConfigDeclaration::
write(ostream &out) const {
out << get_variable()->get_name() << " " << get_string_value();
if (!get_variable()->is_used()) {
out << " (not used)";
}
//if (!get_variable()->is_used()) {
// out << " (not used)";
//}
out << "\n";
}