laforge has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/c/libosmocore/+/14971 )

Change subject: vty/telnet_interface.c: avoid unneeded initialization
......................................................................

vty/telnet_interface.c: avoid unneeded initialization

Unconditional initialization follows the structure definition,
so there is no need to do it twice. This prevents compiler
from warning about potential errors.

Change-Id: If9fd2826f132dfa203dda62940d93dbdfcfd92ac
---
M src/vty/telnet_interface.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



diff --git a/src/vty/telnet_interface.c b/src/vty/telnet_interface.c
index c16b0b1..d44754c 100644
--- a/src/vty/telnet_interface.c
+++ b/src/vty/telnet_interface.c
@@ -210,7 +210,7 @@
 /*! callback from core VTY code about VTY related events */
 void vty_event(enum event event, int sock, struct vty *vty)
 {
-       struct vty_signal_data sig_data = { 0, };
+       struct vty_signal_data sig_data;
        struct telnet_connection *connection = vty->priv;
        struct osmo_fd *bfd;


--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/14971
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: If9fd2826f132dfa203dda62940d93dbdfcfd92ac
Gerrit-Change-Number: 14971
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to