Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit Meel <ankitjmeel@gmail.com>2020-10-20 21:10:42 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2020-10-20 22:32:16 +0300
commit6c2bea64922160cd863b424d036f2ae167deb6e9 (patch)
tree95d75c31a623b110fc95bef886ed1668acbbdf03
parent43e4d6e5b1425860d5820e866c012a6ebd046a19 (diff)
Cleanup: Clang-tidy silence readability-non-const-parameter
This is a false alarm, `getFileSystemRepresentation` changes the return value argument. So used `NOLINTNEXTLINE`.
-rw-r--r--source/blender/blenlib/intern/storage_apple.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/storage_apple.mm b/source/blender/blenlib/intern/storage_apple.mm
index 16a2fd338fa..564ef5a199a 100644
--- a/source/blender/blenlib/intern/storage_apple.mm
+++ b/source/blender/blenlib/intern/storage_apple.mm
@@ -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 */