diff --git a/src/rxgen/rpc_cout.c b/src/rxgen/rpc_cout.c index 92a864534e..4c29d8d5df 100644 --- a/src/rxgen/rpc_cout.c +++ b/src/rxgen/rpc_cout.c @@ -92,6 +92,8 @@ emit(definition * def) case DEF_TYPEDEF: emit_typedef(def); break; + default: + break; } print_trailer(); } @@ -378,6 +380,8 @@ print_hout(declaration * dec) f_print(fout, "\t%s%s *%s_val;\n", prefix, dec->type, dec->name); f_print(fout, "} %s", dec->name); break; + default: + break; } f_print(fout, ";\n"); f_print(fout, "bool_t xdr_%s(XDR *xdrs, %s *objp);\n", dec->name, diff --git a/src/rxgen/rpc_hout.c b/src/rxgen/rpc_hout.c index f6b1a62b2d..1bec6393b2 100644 --- a/src/rxgen/rpc_hout.c +++ b/src/rxgen/rpc_hout.c @@ -102,6 +102,8 @@ print_datadef(definition * def) case DEF_CONST: pconstdef(def); break; + default: + break; } if (def->def_kind != DEF_PROGRAM && def->def_kind != DEF_CONST && (!IsRxgenDefinition(def))) { @@ -244,6 +246,8 @@ psproc1(definition * defp, int callTconnF, char *type, char *prefix, case DEF_INOUTPARAM: f_print(fout, ",\n\t/*I/O*/ "); break; + default: + break; } if (plist->pl.param_flag & OUT_STRING) { f_print(fout, "%s *%s", plist->pl.param_type, diff --git a/src/rxgen/rpc_parse.c b/src/rxgen/rpc_parse.c index 4ea6271a46..ce73165e01 100644 --- a/src/rxgen/rpc_parse.c +++ b/src/rxgen/rpc_parse.c @@ -1528,6 +1528,8 @@ ss_ProcSpecial_setup(definition * defp, int *somefrees) f_print(fout, "\n\t%s = 0;", plist->pl.param_name); plist->pl.string_name = NULL; break; + default: + break; } } } @@ -1677,6 +1679,8 @@ ss_ProcTail_setup(definition * defp, int somefrees) f_print(fout, "\tif (!%s) goto fail1;\n", plist->scode); break; + default: + break; } } }