Description of problem: I just tried to compile package opencdk-0.5.5-1 from Redhat Fedora Extras development tree. The compiler said t-stream.c(452): remark #592: variable "rc" is used before its value is set The source code is int rc ; cdk_handle_new (&hd); cdk_keydb_new (&db, CDK_DBTYPE_SK_KEYRING, "sec.gpg", 7); cdk_strlist_add (&locusr, "twoaday@daredevil"); //rc = cdk_file_clearsign (hd, locusr, file, "out.asc"); if (rc) printf ("clearsign_file %s: `%s'\n", file, cdk_strerror (rc)); Suggest init local variable "rc" before first use. Should the commented out code be put back in ? Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
thx, reported upstream and will be (hopefully) fixed in the next release. It happens in test-code only, so I do not fix it immediately. http://lists.gnupg.org/pipermail/gnutls-dev/2005-March/000830.html