diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-09 18:55:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-09 19:22:45 +0300 |
commit | 59553d47c0075404790214b63e0edc55c48c5d90 (patch) | |
tree | d956a8d5c46f1ee561c09a15bbc85c6a9d510902 /source/blender | |
parent | 84af1eaa923bf61492b360a9ffbc45ef4f2f7aeb (diff) |
Cleanup: quiet array-parameter warning
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/main.c b/source/blender/blenkernel/intern/main.c index dc678f248c9..39cc5737ca2 100644 --- a/source/blender/blenkernel/intern/main.c +++ b/source/blender/blenkernel/intern/main.c @@ -538,10 +538,12 @@ ListBase *which_libbase(Main *bmain, short type) * This is useful for generic traversal of all the blocks in a #Main (by traversing all the lists * in turn), without worrying about block types. * + * \param lb: Array of lists #INDEX_ID_MAX in length. + * * \note The order of each ID type #ListBase in the array is determined by the `INDEX_ID_<IDTYPE>` * enum definitions in `DNA_ID.h`. See also the #FOREACH_MAIN_ID_BEGIN macro in `BKE_main.h` */ -int set_listbasepointers(Main *bmain, ListBase *lb[INDEX_ID_MAX]) +int set_listbasepointers(Main *bmain, ListBase *lb[/*INDEX_ID_MAX*/]) { /* Libraries may be accessed from pretty much any other ID. */ lb[INDEX_ID_LI] = &(bmain->libraries); |