[apps/code] Fix missing return

This commit is contained in:
Léa Saviot
2020-04-30 10:40:11 +02:00
committed by Émilie Feral
parent ac654f0097
commit 5ffcb77c69

View File

@@ -813,7 +813,7 @@ const char * VariableBoxController::importationSourceNameFromNode(mp_parse_node_
if (strcmp(nodeSubName, qstr_str(MP_QSTR_matplotlib)) == 0) {
nodeSubName = qstr_str(MP_PARSE_NODE_LEAF_ARG(nodePNS->nodes[1]));
if (strcmp(nodeSubName, qstr_str(MP_QSTR_pyplot)) == 0) {
qstr_str(MP_QSTR_matplotlib_dot_pyplot);
return qstr_str(MP_QSTR_matplotlib_dot_pyplot);
}
}
}