From d1575c63969f5bb6f32f9798920a5bbbbf14fe6d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 9 Jul 2013 13:12:55 +0000 Subject: [PATCH] warning: 'intern' may be used uninitialized in this function [-Wmaybe-uninitialized] (mostly to make gcc happy) --- gnupg_keylistiterator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnupg_keylistiterator.c b/gnupg_keylistiterator.c index aaf9275..218b5dd 100644 --- a/gnupg_keylistiterator.c +++ b/gnupg_keylistiterator.c @@ -35,7 +35,7 @@ static zend_object_handlers gnupg_keylistiterator_object_handlers; /* {{{ defs */ #define GNUPG_GET_ITERATOR() \ zval *this = getThis(); \ - gnupg_keylistiterator_object *intern; \ + gnupg_keylistiterator_object *intern = NULL; \ if(this){ \ intern = (gnupg_keylistiterator_object*) zend_object_store_get_object(getThis() TSRMLS_CC); \ if(!intern){ \