From d31b5cdc8a9f9f337790f7f9c24b58f7e734a07a Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 11 Jul 2018 18:57:06 +0200 Subject: [PATCH] add missing 'break' in case structure --- src/frontend/translatepoly.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/frontend/translatepoly.c b/src/frontend/translatepoly.c index db56c438d..aceb3ff7d 100644 --- a/src/frontend/translatepoly.c +++ b/src/frontend/translatepoly.c @@ -137,8 +137,10 @@ Poly_t interpretpoly(struct card *input, char controlType, char sourceType) switch(controlType) { case 'i': formatselected = formatCC; + break; case 'v': formatselected = formatVC; + break; default: break; //TODO: decide what to do on other characters? } @@ -363,4 +365,4 @@ struct card * translatepoly(struct card * input_line) { } strcat(output_line->line, expressionRHS); return output_line; -} \ No newline at end of file +}