Skip to content

Commit bfb2c00

Browse files
committed
Removed dangerous default value from jsd_string.
1 parent 7180f68 commit bfb2c00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parse/jsd_string.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ void parse(std::string& value, std::string const& name,
77
{
88
try
99
{
10-
GET_VALUE(std::string, name, value, "<undefined>");
10+
GET_VALUE(std::string, name, value, "");
1111
}
1212
catch (boost::property_tree::ptree_bad_data& exc)
1313
{
14-
DEFAULT_PROPERTY_ERROR_HANDLER("", "<undefined>");
14+
DEFAULT_PROPERTY_ERROR_HANDLER("", "");
1515
}
1616
catch (boost::property_tree::ptree_bad_path& exc)
1717
{
18-
DEFAULT_PATH_ERROR_HANDLER("", "<undefined>");
18+
DEFAULT_PATH_ERROR_HANDLER("", "");
1919
}
2020
}
2121

0 commit comments

Comments
 (0)