diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 03f53be90fa617f9aa2aae148431355d8801d0e2..e4b495456b49eabde17f18932a3b55972b4752a8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ include: - project: 'iopsys/gitlab-ci-pipeline' file: '/static-code-analysis.yml' - + ref: '0.27' stages: - static_code_analysis - compile_test diff --git a/src/host.c b/src/host.c index fca12b169a8a21bebb123d0c6a398324140f2909..e82d4e70783b3506f8425fb340fab3244cf97289 100644 --- a/src/host.c +++ b/src/host.c @@ -796,7 +796,7 @@ int get_ifmask(char *ifname, char *buf) int host_get_parent_iface(struct topologyd_private *priv, struct host_node *p) { - struct json_object *iface_array; + struct json_object *iface_array = NULL; int i = 0, len = 0; if (!p || !priv || !priv->ieee1905_interfaces)