1This fixes an issue when building with gcc 4.x 2 3https://github.com/openembedded/openembedded/tree/master/recipes/netkit-rpc/netkit-rpc 4 5Upstream-status: Backported 6 7Signed-off-By: Armin Kuster <akuster808@gmail.com> 8 9--- netkit-rpc-0.17/rpcgen/rpc_cout.c~gcc4 10+++ netkit-rpc-0.17/rpcgen/rpc_cout.c 11@@ -101,8 +101,6 @@ 12 case DEF_TYPEDEF: 13 emit_typedef(def); 14 break; 15- default: 16- /* can't happen */ 17 } 18 print_trailer(); 19 } 20@@ -664,9 +662,6 @@ 21 decl->name,decl->array_max); 22 emit_single_in_line(decl,flag,REL_VECTOR); 23 f_print(fout,"\t\t }\n\t\t };\n"); 24- 25- default: 26- /* ?... do nothing I guess */ 27 } 28 } 29 30--- netkit-rpc-0.17/rpcgen/rpc_hout.c~gcc4 31+++ netkit-rpc-0.17/rpcgen/rpc_hout.c 32@@ -106,8 +106,6 @@ 33 f_print(fout, "\n"); 34 pprogramdef(def); 35 break; 36- default: 37- /* ?... shouldn't happen I guess */ 38 } 39 } 40