mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-25 09:13:26 +00:00
Silent a warning from coverity about icmap_track being used without assign
Signed-off-by: Steven Dake <sdake@redhat.com> Reviewed-by: Angus Salkeld <asalked@redhat.com>
This commit is contained in:
parent
aa879567bc
commit
58603dd217
@ -442,7 +442,7 @@ static void mon_instance_init (struct resource_instance* inst)
|
||||
{
|
||||
uint64_t tmp_value;
|
||||
char key_name[ICMAP_KEYNAME_MAXLEN];
|
||||
icmap_track_t icmap_track;
|
||||
icmap_track_t icmap_track = NULL;
|
||||
|
||||
snprintf(key_name, ICMAP_KEYNAME_MAXLEN, "%s%s", inst->icmap_path, "current");
|
||||
if (inst->max_type == ICMAP_VALUETYPE_INT32) {
|
||||
|
Loading…
Reference in New Issue
Block a user