Cleanup: Clang-tidy silence readability-non-const-parameter

This is a false alarm, `getFileSystemRepresentation` changes the
return value argument.
So used `NOLINTNEXTLINE`.
This commit is contained in:
Ankit Meel 2020-10-20 23:40:42 +05:30
parent 43e4d6e5b1
commit 6c2bea6492
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@
* \param r_targetpath Buffer for the target path an alias points to.
* \return Whether the file at the input path is an alias.
*/
/* False alarm by clang-tidy: #getFileSystemRepresentation changes the return value argument. */
/* NOLINTNEXTLINE: readability-non-const-parameter. */
bool BLI_file_alias_target(const char *filepath, char r_targetpath[FILE_MAXDIR])
{
/* clang-format off */