Fix the build error for real

This commit is contained in:
Jean Flach 2015-02-19 17:44:42 +01:00
parent b026bb713f
commit c75ecd8c45
1 changed files with 3 additions and 4 deletions

View File

@ -357,10 +357,9 @@ void TroubleshootCollectCommand::CheckObjectFile(const String& objectfile, InfoL
bool first = true; bool first = true;
if (print) std::ofstream badstream;
ObjectListUtility::PrintObject(std::ostream(NULL), first, message, type_count, "", "");
else ObjectListUtility::PrintObject(badstream, first, message, type_count, "", "");
ObjectListUtility::PrintObject(std::ostream(NULL), first, message, type_count, "", "");
Dictionary::Ptr object = JsonDecode(message); Dictionary::Ptr object = JsonDecode(message);
Dictionary::Ptr properties = object->Get("properties"); Dictionary::Ptr properties = object->Get("properties");