fix for compiler warning
This commit is contained in:
@@ -154,7 +154,8 @@ int main() {
|
|||||||
string errorDescription;
|
string errorDescription;
|
||||||
TestReader reader{templates, isSet, mstr[1] == BROADCAST || isMaster(mstr[1])};
|
TestReader reader{templates, isSet, mstr[1] == BROADCAST || isMaster(mstr[1])};
|
||||||
lineNo = 0;
|
lineNo = 0;
|
||||||
dummystr = istringstream("#");
|
dummystr.clear();
|
||||||
|
dummystr.str("#");
|
||||||
result = reader.readLineFromStream(dummystr, errorDescription, "inline", lineNo, row);
|
result = reader.readLineFromStream(dummystr, errorDescription, "inline", lineNo, row);
|
||||||
if (result != RESULT_OK) {
|
if (result != RESULT_OK) {
|
||||||
cout << "\"" << check[0] << "\": reader header error: " << getResultCode(result) << ", " << errorDescription
|
cout << "\"" << check[0] << "\": reader header error: " << getResultCode(result) << ", " << errorDescription
|
||||||
|
|||||||
Reference in New Issue
Block a user