mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
Don't use uninitialized values
This commit is contained in:
3
client.c
3
client.c
@@ -1082,12 +1082,11 @@ process_cmd_delete(CMD_Request *msg, char *line)
|
||||
fprintf(stderr, "Could not get address for hostname\n");
|
||||
ok = 0;
|
||||
} else {
|
||||
UTI_IPHostToNetwork(&address, &msg->data.del_source.ip_addr);
|
||||
ok = 1;
|
||||
}
|
||||
}
|
||||
|
||||
UTI_IPHostToNetwork(&address, &msg->data.del_source.ip_addr);
|
||||
|
||||
return ok;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user