From f3f1e6a2a302427899dca064f2484b43821b2ed1 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 20 Nov 2016 19:31:59 +0100 Subject: [PATCH] client: fix extra warning about misleading identation Use a code block instead. --- src/client/commands.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/commands.c b/src/client/commands.c index e8e47d00..7fd4d55a 100644 --- a/src/client/commands.c +++ b/src/client/commands.c @@ -703,7 +703,10 @@ cmd_iterate_on_interfaces(struct lldpctl_conn_t *conn, struct cmd_env *env) if (!iter) return NULL; } else { iter = lldpctl_atom_iter_next(iface_list, iter); - if (iface) lldpctl_atom_dec_ref(iface); iface = NULL; + if (iface) { + lldpctl_atom_dec_ref(iface); + iface = NULL; + } if (!iter) { lldpctl_atom_dec_ref(iface_list); return NULL; -- 2.39.5