Cleanup: Unused variable, RNA description warning
This commit is contained in:
parent
222b64fcdc
commit
7151c2dc3e
|
@ -434,7 +434,7 @@ static void rna_def_asset_handle_api(StructRNA *srna)
|
|||
"AssetLibraryReference",
|
||||
"",
|
||||
"The asset library containing the given asset. Deprecated and optional argument, will be "
|
||||
"ignored. Kept for API compatibility only.");
|
||||
"ignored. Kept for API compatibility only");
|
||||
parm = RNA_def_string(func, "result", NULL, FILE_MAX_LIBEXTRA, "result", "");
|
||||
RNA_def_parameter_flags(parm, PROP_THICK_WRAP, 0);
|
||||
RNA_def_function_output(func, parm);
|
||||
|
|
|
@ -95,13 +95,10 @@ static void localize(bNodeTree *localtree, bNodeTree *ntree)
|
|||
|
||||
static void local_merge(Main *bmain, bNodeTree *localtree, bNodeTree *ntree)
|
||||
{
|
||||
bNode *lnode;
|
||||
bNodeSocket *lsock;
|
||||
|
||||
/* move over the compbufs and previews */
|
||||
BKE_node_preview_merge_tree(ntree, localtree, true);
|
||||
|
||||
for (lnode = (bNode *)localtree->nodes.first; lnode; lnode = lnode->next) {
|
||||
for (bNode *lnode = (bNode *)localtree->nodes.first; lnode; lnode = lnode->next) {
|
||||
if (bNode *orig_node = nodeFindNodebyName(ntree, lnode->name)) {
|
||||
if (ELEM(lnode->type, CMP_NODE_VIEWER, CMP_NODE_SPLITVIEWER)) {
|
||||
if (lnode->id && (lnode->flag & NODE_DO_OUTPUT)) {
|
||||
|
|
Loading…
Reference in New Issue