Skip to content

Commit c89f028

Browse files
committed
Do not write to stderr
fixes open-source-parsers#665 closes open-source-parsers#666
1 parent 1b68b02 commit c89f028

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib_json/json_reader.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2052,10 +2052,6 @@ JSONCPP_ISTREAM& operator>>(JSONCPP_ISTREAM& sin, Value& root) {
20522052
JSONCPP_STRING errs;
20532053
bool ok = parseFromStream(b, sin, &root, &errs);
20542054
if (!ok) {
2055-
fprintf(stderr,
2056-
"Error from reader: %s",
2057-
errs.c_str());
2058-
20592055
throwRuntimeError(errs);
20602056
}
20612057
return sin;

0 commit comments

Comments
 (0)