Merge pull request #667 from cdunn2001/foo

Drop stderr
This commit is contained in:
Christopher Dunn 2017-09-09 15:15:10 -05:00 committed by GitHub
commit 3b5f8bef41

View File

@ -2052,10 +2052,6 @@ JSONCPP_ISTREAM& operator>>(JSONCPP_ISTREAM& sin, Value& root) {
JSONCPP_STRING errs; JSONCPP_STRING errs;
bool ok = parseFromStream(b, sin, &root, &errs); bool ok = parseFromStream(b, sin, &root, &errs);
if (!ok) { if (!ok) {
fprintf(stderr,
"Error from reader: %s",
errs.c_str());
throwRuntimeError(errs); throwRuntimeError(errs);
} }
return sin; return sin;