mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-08 04:08:26 +00:00
quic: Add missing break; in switch/case
Unhandled values call an error callback, and then fall through the default: case, which will call again the error callback. This commit adds some break; after these cases to avoid this.
This commit is contained in:
parent
793e5d0350
commit
ead4b8810a
@ -943,8 +943,10 @@ static void find_model_params(Encoder *encoder,
|
||||
case 2: /* obsolete */
|
||||
case 4: /* obsolete */
|
||||
encoder->usr->error(encoder->usr, "findmodelparams(): evol value obsolete!!!\n");
|
||||
break;
|
||||
default:
|
||||
encoder->usr->error(encoder->usr, "findmodelparams(): evol out of range!!!\n");
|
||||
break;
|
||||
}
|
||||
|
||||
*nbuckets = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user