vfs301_proto: Remove usless break after return

Closes: #341
This commit is contained in:
Benjamin Berg 2020-11-30 19:19:26 +01:00 committed by Marco Trevisan
parent 7d0956513b
commit ce39f27b5e

View file

@ -213,11 +213,9 @@ vfs301_proto_generate (int type, int subtype, gssize *len)
*len = 1; *len = 1;
return data; return data;
} }
break;
case 0x0B: case 0x0B:
return vfs301_proto_generate_0B (subtype, len); return vfs301_proto_generate_0B (subtype, len);
break;
case 0x02D0: case 0x02D0:
{ {
@ -233,22 +231,18 @@ vfs301_proto_generate (int type, int subtype, gssize *len)
g_assert ((int) subtype <= G_N_ELEMENTS (dataLs)); g_assert ((int) subtype <= G_N_ELEMENTS (dataLs));
return translate_str (dataLs[subtype - 1], len); return translate_str (dataLs[subtype - 1], len);
} }
break;
case 0x0220: case 0x0220:
switch (subtype) switch (subtype)
{ {
case 1: case 1:
return translate_str (vfs301_0220_01, len); return translate_str (vfs301_0220_01, len);
break;
case 2: case 2:
return translate_str (vfs301_0220_02, len); return translate_str (vfs301_0220_02, len);
break;
case 3: case 3:
return translate_str (vfs301_0220_03, len); return translate_str (vfs301_0220_03, len);
break;
case 0xFA00: case 0xFA00:
case 0x2C01: case 0x2C01:
@ -271,7 +265,6 @@ vfs301_proto_generate (int type, int subtype, gssize *len)
field[3] = field[1]; field[3] = field[1];
return data; return data;
break;
} }
default: default: