htsmsg: coverity - add missing break in htsmsg_field_get_string()
This commit is contained in:
parent
1eb67bacf5
commit
152dc614e8
1 changed files with 1 additions and 0 deletions
|
@ -592,6 +592,7 @@ htsmsg_field_get_string(htsmsg_field_t *f)
|
|||
f->hmf_str = strdup(f->hmf_bool ? "true" : "false");
|
||||
f->hmf_type = HMF_STR;
|
||||
f->hmf_flags |= HMF_ALLOCED;
|
||||
break;
|
||||
case HMF_S64:
|
||||
snprintf(buf, sizeof(buf), "%"PRId64, f->hmf_s64);
|
||||
f->hmf_str = strdup(buf);
|
||||
|
|
Loading…
Add table
Reference in a new issue