From 0f594a6f19b38dd595b89636317d82de0f841522 Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Wed, 26 Jan 2022 09:26:38 -0500 Subject: [PATCH] Separate variable declaration from assignment We need to do this to allow for the label placement on older gcc versions Signed-off-by: Neil Horman --- ui/irqbalance-ui.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/irqbalance-ui.c b/ui/irqbalance-ui.c index 959b312..3ad3553 100644 --- a/ui/irqbalance-ui.c +++ b/ui/irqbalance-ui.c @@ -104,8 +104,10 @@ char * get_data(char *string) /* Send "setup" to get sleep interval, banned IRQs and banned CPUs, * "stats" to get CPU tree statistics */ + int socket_fd; + try_again: - int socket_fd = init_connection(); + socket_fd = init_connection(); if(!socket_fd) { return NULL; }