mirror of
https://github.com/reactos/CMake.git
synced 2024-12-14 07:09:22 +00:00
Fix style warning in cmsystemtools, cosmetic change to ctest code
This commit is contained in:
parent
9aa4e134b5
commit
9f105a3f6d
@ -407,12 +407,9 @@ void cmCTestMultiProcessHandler::CheckResume()
|
||||
fin.close();
|
||||
}
|
||||
}
|
||||
else
|
||||
else if(cmSystemTools::FileExists(fname.c_str(), true))
|
||||
{
|
||||
if(cmSystemTools::FileExists(fname.c_str(), true))
|
||||
{
|
||||
cmSystemTools::RemoveFile(fname.c_str());
|
||||
}
|
||||
cmSystemTools::RemoveFile(fname.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1910,7 +1910,8 @@ list_item_verbose(FILE *out, struct archive_entry *entry)
|
||||
tim = archive_entry_mtime(entry);
|
||||
#define HALF_YEAR (time_t)365 * 86400 / 2
|
||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||
#define DAY_FMT "%d" /* Windows' strftime function does not support %e format. */
|
||||
/* Windows' strftime function does not support %e format. */
|
||||
#define DAY_FMT "%d"
|
||||
#else
|
||||
#define DAY_FMT "%e" /* Day number without leading zeros */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user