comparison pwmrc.c @ 30:2552eec9b913

Explicitly handle all cases in switch statements
author Guido Berhoerster <guido+pwm@berhoerster.name>
date Tue, 28 Nov 2017 15:09:19 +0100
parents 00d782cb45fa
children
comparison
equal deleted inserted replaced
29:00d782cb45fa 30:2552eec9b913
113 lineno); 113 lineno);
114 if (!ctx->is_interactive) { 114 if (!ctx->is_interactive) {
115 goto out; 115 goto out;
116 } 116 }
117 goto next; 117 goto next;
118 case TOK_ERR_OK:
119 break;
118 } 120 }
119 121
120 /* expand macros */ 122 /* expand macros */
121 if (macro_expand_macros(ctx->macro_head, tokenc, tokenv, &argc, 123 if (macro_expand_macros(ctx->macro_head, tokenc, tokenv, &argc,
122 &argv) != 0) { 124 &argv) != 0) {