CmdDiagnostics: Remove redundant nesting

This commit is contained in:
Tomas Babej 2015-09-18 15:40:02 +02:00 committed by Paul Beckingham
parent 22368b9a40
commit 0693f3cfc4

View file

@ -337,7 +337,7 @@ int CmdDiagnostics::execute (std::string& output)
// Verify UUIDs are all unique. // Verify UUIDs are all unique.
out << bold.colorize (STRING_CMD_DIAG_TESTS) out << bold.colorize (STRING_CMD_DIAG_TESTS)
<< "\n"; << "\n";
{
// Determine terminal details. // Determine terminal details.
const char* term = getenv ("TERM"); const char* term = getenv ("TERM");
out << " $TERM: " out << " $TERM: "
@ -376,7 +376,6 @@ int CmdDiagnostics::execute (std::string& output)
out << " " << STRING_CMD_DIAG_UUID_NO_DUP out << " " << STRING_CMD_DIAG_UUID_NO_DUP
<< "\n"; << "\n";
} }
}
out << "\n"; out << "\n";
output = out.str (); output = out.str ();