hnbap_common: hnbap_cause_str: handle nothing val

Fix for:
../../../src/osmo-iuh/src/hnbap_common.c:85:9: error: enumeration value ‘HNBAP_Cause_PR_NOTHING’ not handled in switch [-Werror=switch]

Change-Id: Icab3052e27d1951129e3809e61357ee23c4cb588
This commit is contained in:
Oliver Smith 2022-11-11 17:34:40 +01:00
parent da6a5953ac
commit 9066e0b16d
1 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,9 @@ char *hnbap_cause_str(HNBAP_Cause_t *cause)
get_value_string(hnbap_cause_misc_vals,
cause->choice.misc));
break;
case HNBAP_Cause_PR_NOTHING:
snprintf(buf, sizeof(buf), "NOTHING");
break;
}
return buf;
}