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-03-25 04:04:20 +0300
committerCampbell Barton <campbell@blender.org>2022-03-25 04:04:20 +0300
commit4d46fac65d9946382c4be5b3842660e77468f00b (patch)
treec2910a4ca0b2d345007bf853d6484a1b9e53e4e1 /source/blender/compositor/intern/COM_Debug.cc
parentc594cfbe50497fdc365b3f327b643de507cda02f (diff)
Cleanup: use count or num instead of nbr
Follow conventions from T85728.
Diffstat (limited to 'source/blender/compositor/intern/COM_Debug.cc')
-rw-r--r--source/blender/compositor/intern/COM_Debug.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/compositor/intern/COM_Debug.cc b/source/blender/compositor/intern/COM_Debug.cc
index 0d9d3b111b0..66dbabe71b5 100644
--- a/source/blender/compositor/intern/COM_Debug.cc
+++ b/source/blender/compositor/intern/COM_Debug.cc
@@ -468,8 +468,8 @@ void DebugInfo::delete_operation_exports()
const std::string dir = get_operations_export_dir();
if (BLI_exists(dir.c_str())) {
struct direntry *file_list;
- int num_files = BLI_filelist_dir_contents(dir.c_str(), &file_list);
- for (int i = 0; i < num_files; i++) {
+ int file_list_num = BLI_filelist_dir_contents(dir.c_str(), &file_list);
+ for (int i = 0; i < file_list_num; i++) {
direntry *file = &file_list[i];
const eFileAttributes file_attrs = BLI_file_attributes(file->path);
if (file_attrs & FILE_ATTR_ANY_LINK) {
@@ -480,7 +480,7 @@ void DebugInfo::delete_operation_exports()
BLI_delete(file->path, false, false);
}
}
- BLI_filelist_free(file_list, num_files);
+ BLI_filelist_free(file_list, file_list_num);
}
}