]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
get rid of a (wrong) gcc warning
authorMichael Schroeder <mls@suse.de>
Thu, 25 Jul 2013 15:46:56 +0000 (17:46 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 25 Jul 2013 15:46:56 +0000 (17:46 +0200)
ext/solv_pgpvrfy.c

index a4c819bf07306357296af07e242ef0ddbd98d0a9..0da31319173492512447d2a40c4c7316804040ad 100644 (file)
@@ -360,6 +360,7 @@ findmpi(unsigned char **mpip, int *mpilp, int maxbits, int *outlen)
   unsigned char *out = 0;
   int bits, l;
 
+  *outlen = 0;
   if (mpil < 2)
     return 0;
   bits = mpi[0] << 8 | mpi[1];