From 83ed00f1dfde9bd20ce0b71fdfbb4309f346fa6f Mon Sep 17 00:00:00 2001 From: Chirag Shah Date: Thu, 26 Mar 2020 19:00:52 -0700 Subject: [PATCH] lib: remove gcc 4.x workaround for nb structure Remove gcc 4.x workaround for variable size array as gcc check moved to header file. In lib/northbound.h : struct frr_yang_module_info made size 1000 for gcc 4.x, where maximum 1000 nodes can fit. Signed-off-by: Chirag Shah --- lib/if.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/if.c b/lib/if.c index f557d7a1dd..c887bb6265 100644 --- a/lib/if.c +++ b/lib/if.c @@ -1758,7 +1758,6 @@ lib_interface_state_phy_address_get_elem(const char *xpath, } /* clang-format off */ - const struct frr_yang_module_info frr_interface_info = { .name = "frr-interface", .nodes = {