From ea39cf40a881fd28f86e2625dff80fde58f2e08a Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 11 Aug 2014 10:17:30 +0200 Subject: p11-kit: Fix various noise/issues highlighted by clang --- p11-kit/rpc-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'p11-kit/rpc-client.c') diff --git a/p11-kit/rpc-client.c b/p11-kit/rpc-client.c index 810ef12..23cfcfc 100644 --- a/p11-kit/rpc-client.c +++ b/p11-kit/rpc-client.c @@ -198,8 +198,8 @@ proto_read_attribute_array (p11_rpc_message *msg, { uint32_t i, num, value, type; CK_ATTRIBUTE_PTR attr; - const unsigned char *attrval; - size_t attrlen; + const unsigned char *attrval = NULL; + size_t attrlen = 0; unsigned char validity; CK_RV ret; -- cgit v1.1