From c89f0282d1ce31e752a80eae224cdd5aa92fae4b Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Sat, 9 Sep 2017 14:49:55 -0500 Subject: [PATCH] Do not write to stderr fixes #665 closes #666 --- src/lib_json/json_reader.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib_json/json_reader.cpp b/src/lib_json/json_reader.cpp index 9e346ae..b4c4dcd 100644 --- a/src/lib_json/json_reader.cpp +++ b/src/lib_json/json_reader.cpp @@ -2052,10 +2052,6 @@ JSONCPP_ISTREAM& operator>>(JSONCPP_ISTREAM& sin, Value& root) { JSONCPP_STRING errs; bool ok = parseFromStream(b, sin, &root, &errs); if (!ok) { - fprintf(stderr, - "Error from reader: %s", - errs.c_str()); - throwRuntimeError(errs); } return sin;