ERR: Fixed unused parameter warnings.
This commit is contained in:
parent
6e9a96119c
commit
8876adcd81
@ -1061,12 +1061,15 @@ bool cmSystemTools::StringEndsWith(const char* str1, const char* str2)
|
|||||||
return !strncmp(str1 + (strlen(str1)-strlen(str2)), str2, strlen(str2));
|
return !strncmp(str1 + (strlen(str1)-strlen(str2)), str2, strlen(str2));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cmSystemTools::CreateSymlink(const char* origName, const char* newName)
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||||
|
bool cmSystemTools::CreateSymlink(const char*, const char*)
|
||||||
{
|
{
|
||||||
#if !defined(_WIN32) || defined(__CYGWIN__)
|
|
||||||
return (symlink(origName, newName) >= 0);
|
|
||||||
#else
|
|
||||||
// Should we create a copy here?
|
// Should we create a copy here?
|
||||||
return false;
|
return false;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
bool cmSystemTools::CreateSymlink(const char* origName, const char* newName)
|
||||||
|
{
|
||||||
|
return (symlink(origName, newName) >= 0);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user