mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-03 22:33:02 +02:00
Merge pull request #1216 from kernelkit/coverity-fixes
This commit is contained in:
@@ -68,6 +68,9 @@ static void mark_interfaces_used(struct lyd_node *cfg, char **ifaces)
|
||||
{
|
||||
struct lyd_node *node;
|
||||
|
||||
if (!ifaces)
|
||||
return;
|
||||
|
||||
LYX_LIST_FOR_EACH(lyd_child(cfg), node, "interface") {
|
||||
const char *ifname = lyd_get_value(node);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user