fix in warning
This commit is contained in:
parent
65a814c989
commit
d5463f404c
|
@ -1248,7 +1248,8 @@ void cmSystemTools::cmCopyFile(const char* source,
|
||||||
{
|
{
|
||||||
cmSystemTools::Error("CopyFile failed to copy files!");
|
cmSystemTools::Error("CopyFile failed to copy files!");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
if (statSource.st_size != statDestination.st_size)
|
if (statSource.st_size != statDestination.st_size)
|
||||||
{
|
{
|
||||||
cmOStringStream msg;
|
cmOStringStream msg;
|
||||||
|
@ -1256,6 +1257,7 @@ void cmSystemTools::cmCopyFile(const char* source,
|
||||||
<< statSource.st_size << " , dest: " << statDestination.st_size;
|
<< statSource.st_size << " , dest: " << statDestination.st_size;
|
||||||
cmSystemTools::Error(msg.str().c_str());
|
cmSystemTools::Error(msg.str().c_str());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// return true if the file exists
|
// return true if the file exists
|
||||||
|
|
Loading…
Reference in New Issue