diff options
author | Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> | 2012-01-03 17:38:24 +0100 |
---|---|---|
committer | Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> | 2012-01-03 17:38:24 +0100 |
commit | ed432f030e604f7b2fd4a79c2110d92b9cde7501 (patch) | |
tree | d430fc764b88519da48903ba45327fb33089627a /sm/call-dirmngr.c | |
parent | Revert last change, add comment about link() return values. (diff) | |
download | gnupg2-ed432f030e604f7b2fd4a79c2110d92b9cde7501.tar.xz gnupg2-ed432f030e604f7b2fd4a79c2110d92b9cde7501.zip |
Silence gcc warning.
* sm/call-dirmngr.c (get_cached_cert): Make sure buflen is initialized.
Diffstat (limited to 'sm/call-dirmngr.c')
-rw-r--r-- | sm/call-dirmngr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/call-dirmngr.c b/sm/call-dirmngr.c index cdaa9dcfa..92f7a0e2c 100644 --- a/sm/call-dirmngr.c +++ b/sm/call-dirmngr.c @@ -816,7 +816,7 @@ get_cached_cert (assuan_context_t ctx, char hexfpr[2*20+1]; struct membuf mb; char *buf; - size_t buflen; + size_t buflen = 0; ksba_cert_t cert; *r_cert = NULL; |