Silence warnings.
authorSascha Wildner <swildner@dragonflybsd.org>
Mon, 13 Mar 2006 14:36:46 +0000 (14:36 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Mon, 13 Mar 2006 14:36:46 +0000 (14:36 +0000)
Submitted-by: Alexey Slynko <slynko@tronet.ru>
lib/libc/rpc/key_prot_xdr.c

index 0291c6c..14a4c99 100644 (file)
@@ -2,7 +2,7 @@
  * Please do not edit this file.
  * It was generated using rpcgen.
  */
-/* $DragonFly: src/lib/libc/rpc/key_prot_xdr.c,v 1.2 2004/10/25 19:38:01 drhodus Exp $                                                         */
+/* $DragonFly: src/lib/libc/rpc/key_prot_xdr.c,v 1.3 2006/03/13 14:36:46 swildner Exp $                                                                */
 
 #include <rpc/key_prot.h>
 /*
@@ -105,6 +105,8 @@ xdr_cryptkeyres(XDR *xdrs, cryptkeyres *objp)
                if (!xdr_des_block(xdrs, &objp->cryptkeyres_u.deskey))
                        return (FALSE);
                break;
+       default:
+               break;
        }
        return (TRUE);
 }
@@ -134,6 +136,8 @@ xdr_getcredres(XDR *xdrs, getcredres *objp)
                if (!xdr_unixcred(xdrs, &objp->getcredres_u.cred))
                        return (FALSE);
                break;
+       default:
+               break;
        }
        return (TRUE);
 }
@@ -162,6 +166,8 @@ xdr_key_netstres(XDR *xdrs, key_netstres *objp)
                if (!xdr_key_netstarg(xdrs, &objp->key_netstres_u.knet))
                        return (FALSE);
                break;
+       default:
+               break;
        }
        return (TRUE);
 }