Clean Build

- Removed a warning for a clean build on CentOS.
This commit is contained in:
Paul Beckingham 2011-06-27 00:10:33 -04:00
parent f5ea55031c
commit 1813f67230

View file

@ -137,12 +137,11 @@ int CmdDone::execute (std::string& output)
context.tdb.unlock ();
if (context.config.getBoolean ("echo.command"))
if (count == 1)
out << format (STRING_CMD_DONE_MARKED, count)
<< "\n";
else
out << format (STRING_CMD_DONE_MARKED_N, count)
<< "\n";
out << format ((count == 1
? STRING_CMD_DONE_MARKED
: STRING_CMD_DONE_MARKED_N),
count)
<< "\n";
output = out.str ();
return rc;