STYLE: Fixed line-too-long.
This commit is contained in:
parent
5d632330b6
commit
9b89d84210
|
@ -243,10 +243,12 @@ bool cmIfCommand::IsTrue(const std::vector<std::string> &args,
|
||||||
reducible = 1;
|
reducible = 1;
|
||||||
}
|
}
|
||||||
// is file A newer than file B
|
// is file A newer than file B
|
||||||
if (*arg == "FILE_IS_NEWER" && argP1 != newArgs.end() && argP2 != newArgs.end())
|
if (*arg == "FILE_IS_NEWER" &&
|
||||||
|
argP1 != newArgs.end() && argP2 != newArgs.end())
|
||||||
{
|
{
|
||||||
int fileIsNewer=0;
|
int fileIsNewer=0;
|
||||||
bool success=cmSystemTools::FileTimeCompare((argP1)->c_str(), (argP2)->c_str(),
|
bool success=cmSystemTools::FileTimeCompare((argP1)->c_str(),
|
||||||
|
(argP2)->c_str(),
|
||||||
&fileIsNewer);
|
&fileIsNewer);
|
||||||
if(success==false || fileIsNewer==1 || fileIsNewer==0)
|
if(success==false || fileIsNewer==1 || fileIsNewer==0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -266,7 +266,7 @@ bool cmListCommand
|
||||||
{
|
{
|
||||||
if(args.size() < 3)
|
if(args.size() < 3)
|
||||||
{
|
{
|
||||||
this->SetError("sub-command REMOVE_ITEM requires at least two arguments.");
|
this->SetError("sub-command REMOVE_ITEM requires two or more arguments.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue