summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-07-12 17:37:14 +0200
committerStef Walter <stefw@collabora.co.uk>2011-07-12 17:37:14 +0200
commit69dd8b722bcb1a76ff586e71c580f6844412abb9 (patch)
tree27148634a3d1de7e413adb7c53e4f39000dc70bf /p11-kit
parent087a815b2b9cd5e0ec44866be1ddddb948583e88 (diff)
pin: Fix uninitialized variable
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/pin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/pin.c b/p11-kit/pin.c
index 572c138..e0016ec 100644
--- a/p11-kit/pin.c
+++ b/p11-kit/pin.c
@@ -194,8 +194,8 @@ int
p11_kit_pin_register_callback (const char *pinfile, p11_kit_pin_callback callback,
void *callback_data, p11_kit_pin_destroy_func callback_destroy)
{
+ ptr_array_t *callbacks = NULL;
PinfileCallback *cb;
- ptr_array_t *callbacks;
char *name;
int ret;