Fixed Coverity reported issue.
CID 11403: Logically dead code (DEADCODE) After this line, the value of "needspace" is equal to 0. Assigning: "needspace" = "false". Technically the report is correct, but the code is just debugging code that was there just in case the code needed to be reviewed. This code is long since through it's debugging stage so the code is no longer really worth keeping so I've removed it for cleanness sake.
This commit is contained in:
parent
f9d217ea07
commit
c379431be3
@ -232,7 +232,6 @@ void ApplicationUsage::write(std::ostream& output, unsigned int type, unsigned i
|
||||
bool needspace = false;
|
||||
if ((type&COMMAND_LINE_OPTION) && !getCommandLineOptions().empty())
|
||||
{
|
||||
if (needspace) output << std::endl;
|
||||
output << "Options";
|
||||
if (showDefaults) output << " [and default value]";
|
||||
output << ":"<<std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user