]> git.proxmox.com Git - mirror_corosync-qdevice.git/commitdiff
qdevice-net-ipc-cmd: Fix compiler warning
authorJan Friesse <jfriesse@redhat.com>
Wed, 11 Nov 2020 16:27:06 +0000 (17:27 +0100)
committerJan Friesse <jfriesse@redhat.com>
Wed, 11 Nov 2020 16:28:04 +0000 (17:28 +0100)
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
qdevices/qdevice-net-ipc-cmd.c

index 5cdbf759603721be58f4aa55a082fb7d1393cc56..98c7c07845ffd524e0465d6ad6e15a1073f9cbe8 100644 (file)
@@ -87,6 +87,8 @@ qdevice_net_ipc_cmd_status_add_kap_tb_info(struct qdevice_net_instance *instance
                return (1);
        }
 
+       kap_tb_str = "";
+
        switch (instance->decision_algorithm) {
        case TLV_DECISION_ALGORITHM_TYPE_TEST:
                kap_tb_str = "Unsupported by algorithm";