mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Convert ignoreUnused to [[maybe_unused]]
This commit is contained in:
parent
4351e87bdd
commit
28f2157912
141 changed files with 1057 additions and 1209 deletions
|
|
@ -953,7 +953,7 @@ File File::createTempFile (StringRef fileNameEnding)
|
|||
}
|
||||
|
||||
bool File::createSymbolicLink (const File& linkFileToCreate,
|
||||
const String& nativePathOfTarget,
|
||||
[[maybe_unused]] const String& nativePathOfTarget,
|
||||
bool overwriteExisting)
|
||||
{
|
||||
if (linkFileToCreate.exists())
|
||||
|
|
@ -986,7 +986,6 @@ bool File::createSymbolicLink (const File& linkFileToCreate,
|
|||
nativePathOfTarget.toWideCharPointer(),
|
||||
targetFile.isDirectory() ? SYMBOLIC_LINK_FLAG_DIRECTORY : 0) != FALSE;
|
||||
#else
|
||||
ignoreUnused (nativePathOfTarget);
|
||||
jassertfalse; // symbolic links not supported on this platform!
|
||||
return false;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue