From 69dd8b722bcb1a76ff586e71c580f6844412abb9 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 12 Jul 2011 17:37:14 +0200 Subject: pin: Fix uninitialized variable --- p11-kit/pin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1