summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-09-09 17:01:23 +0200
committerSimon Josefsson <simon@josefsson.org>2008-09-09 17:01:23 +0200
commitadae530f707807643e0adf44d8b53aeb057aee13 (patch)
treeb0da84f0c4608c3914b256622b4b01e2f9bb67f7 /lib
parent6469d17ce8b157c32b2343a1de7f700a77f06c38 (diff)
downloadgnutls-adae530f707807643e0adf44d8b53aeb057aee13.tar.gz
Fix warning.
Diffstat (limited to 'lib')
-rw-r--r--lib/opencdk/new-packet.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/opencdk/new-packet.c b/lib/opencdk/new-packet.c
index 39b4cef31d..b096b0ee57 100644
--- a/lib/opencdk/new-packet.c
+++ b/lib/opencdk/new-packet.c
@@ -340,6 +340,9 @@ cdk_pkt_alloc (cdk_packet_t * r_pkt, cdk_packet_type_t pkttype)
if (!pkt->pkt.literal)
return CDK_Out_Of_Core;
break;
+
+ default:
+ return CDK_Not_Implemented;
}
pkt->pkttype = pkttype;
*r_pkt = pkt;