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:
authorCampbell Barton <campbell@blender.org>2022-09-09 10:40:19 +0300
committerCampbell Barton <campbell@blender.org>2022-09-09 10:46:43 +0300
commit58945b07f1171d5f29018e3561870d99efc3597a (patch)
treec3488a730053668e7cd3572d1d7104901f01e625 /source/blender/blenlib/BLI_path_util.h
parent3baca3171978f99498d0aeba6fedd9f02961ca07 (diff)
Cleanup: remove paranoid NULL checks
Diffstat (limited to 'source/blender/blenlib/BLI_path_util.h')
-rw-r--r--source/blender/blenlib/BLI_path_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_path_util.h b/source/blender/blenlib/BLI_path_util.h
index 06dd9ab0db9..a2caaa0851b 100644
--- a/source/blender/blenlib/BLI_path_util.h
+++ b/source/blender/blenlib/BLI_path_util.h
@@ -44,7 +44,8 @@ const char *BLI_getenv(const char *env) ATTR_NONNULL(1) ATTR_WARN_UNUSED_RESULT;
* \param relabase: Optional prefix to substitute for "//" on front of `dir`.
* \param string: Area to return result.
*/
-void BLI_make_file_string(const char *relabase, char *string, const char *dir, const char *file);
+void BLI_make_file_string(const char *relabase, char *string, const char *dir, const char *file)
+ ATTR_NONNULL(2, 3, 4);
/**
* Ensures that the parent directory of `name` exists.
*