Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htsmsg: coverity - add missing break in htsmsg_field_get_string()
  • Loading branch information
perexg committed Oct 3, 2014
1 parent 1eb67ba commit 152dc61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/htsmsg.c
Expand Up @@ -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);
Expand Down

0 comments on commit 152dc61

Please sign in to comment.