Cleanup: UI: Remove unused asset shelf settings pointers

The asset shelf settings struct wasn't used for listbase storage, so
these listbase pointers were unused. They were added unintentionally.
This commit is contained in:
Julian Eisel
2024-10-03 19:52:51 +02:00
parent 0d2f5183d3
commit 46d1d85319
2 changed files with 0 additions and 4 deletions

View File

@@ -44,8 +44,6 @@ AssetShelfSettings &AssetShelfSettings::operator=(const AssetShelfSettings &othe
/* Start with a shallow copy. */
memcpy(this, &other, sizeof(AssetShelfSettings));
next = prev = nullptr;
if (active_catalog_path) {
active_catalog_path = BLI_strdup(other.active_catalog_path);
}

View File

@@ -795,8 +795,6 @@ enum {
};
typedef struct AssetShelfSettings {
struct AssetShelfSettings *next, *prev;
AssetLibraryReference asset_library_reference;
ListBase enabled_catalog_paths; /* #AssetCatalogPathLink */