gpgme-1.0.3: local variable used before set

Ales Nosek anosek at suse.cz
Wed Sep 20 17:53:02 CEST 2006


David Binderman wrote:

I just tried to compile package gpgme-1.0.3-9 with the Intel C compiler.

It said

keylist.c(370): warning #592: variable "key" is used before its value is set

The source code is

  DEBUG3 ("keylist_colon_handler ctx = %p, key = %p, line = %s\n",
          ctx, key, line ? line : "(null)");

I agree with the compiler. Suggest initialise local variable "key"
before first use.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpgme-1.1.2-warning.patch
Type: text/x-patch
Size: 231 bytes
Desc: not available
Url : /pipermail/attachments/20060920/e007fa33/gpgme-1.1.2-warning.bin


More information about the Gnupg-devel mailing list