forked from len0rd/rockbox
zxbox: Add missing break; statement
No harm done, same values are assigned in the "default" case. cppcheck reported: [rockbox/apps/plugins/zxbox/tapefile.c:674] -> [rockbox/apps/plugins/zxbox/tapefile.c:681]: (warning) Buffer 'seg_desc' is being written before its old content has been used. 'break;' missing? Change-Id: I2bf044db9022c848c304f1ad88c012bd85ee61df
This commit is contained in:
parent
5d3aa1bce1
commit
71c0516d52
1 changed files with 2 additions and 1 deletions
|
|
@ -674,7 +674,8 @@ static int interpret_tzx_header(byte *hb, struct seginfo *csp)
|
|||
rb->snprintf(seg_desc, DESC_LEN,"Tapefile Concatenation Point");
|
||||
csp->type = ST_MISC;
|
||||
csp->segtype = SEG_SKIP;
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
csp->type = ST_MISC;
|
||||
csp->segtype = SEG_SKIP;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue