diff options
author | Stef Walter <stef@thewalter.net> | 2014-08-11 10:17:30 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-08-11 10:17:30 +0200 |
commit | ea39cf40a881fd28f86e2625dff80fde58f2e08a (patch) | |
tree | 018ff76f6ad891cca8133b19343a67aa550a68dc /p11-kit/rpc-client.c | |
parent | a7b012fcfa4fd0c1c53de3006a63a8bad4a08041 (diff) |
p11-kit: Fix various noise/issues highlighted by clang
Diffstat (limited to 'p11-kit/rpc-client.c')
-rw-r--r-- | p11-kit/rpc-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |