diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-16 04:45:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-16 04:45:03 +0300 |
commit | d3c454d66c0a730eafa7edecec158ca3b9edb2d7 (patch) | |
tree | 6cc91044bc3c56a51afcc006ece14d1e7ed91f12 /source/blender/makesrna/intern | |
parent | 98c4224ff032a746a54cc04b6d9a485620de0f4a (diff) |
Cleanup: compiler warnings
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_asset.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_asset.c b/source/blender/makesrna/intern/rna_asset.c index 497f4f37ea3..0020d90ba1a 100644 --- a/source/blender/makesrna/intern/rna_asset.c +++ b/source/blender/makesrna/intern/rna_asset.c @@ -137,7 +137,7 @@ static void rna_AssetHandle_get_full_library_path( bContext *C, FileDirEntry *asset_file, AssetLibraryReference *library, - char r_result[FILE_MAX_LIBEXTRA]) + char r_result[/*FILE_MAX_LIBEXTRA*/]) { AssetHandle asset = {.file_data = asset_file}; ED_asset_handle_get_full_library_path(C, library, &asset, r_result); diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 0019f315bbe..f2d2b190d87 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -2699,7 +2699,7 @@ static const EnumPropertyItem *rna_FileBrowser_FileSelectEntry_id_type_itemf( { const FileDirEntry *entry = ptr->data; if (entry->blentype == 0) { - const static EnumPropertyItem none_items[] = { + static const EnumPropertyItem none_items[] = { {0, "NONE", 0, "None", ""}, }; return none_items; |