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 <nhorman@tuxdriver.com>
This commit is contained in:
parent
9b004c6628
commit
0f594a6f19
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue