fix for compiler warning

This commit is contained in:
john30
2017-03-19 21:39:06 +01:00
parent a544fbd198
commit a5e229aa81
+2 -1
View File
@@ -154,7 +154,8 @@ int main() {
string errorDescription;
TestReader reader{templates, isSet, mstr[1] == BROADCAST || isMaster(mstr[1])};
lineNo = 0;
dummystr = istringstream("#");
dummystr.clear();
dummystr.str("#");
result = reader.readLineFromStream(dummystr, errorDescription, "inline", lineNo, row);
if (result != RESULT_OK) {
cout << "\"" << check[0] << "\": reader header error: " << getResultCode(result) << ", " << errorDescription