https://bugzilla.novell.com/show_bug.cgi?id=351207 Summary: pam_pkcs11-0.6.0-45: local variable used before set Product: openSUSE 11.0 Version: unspecified Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to compile the package pam_pkcs11-0.6.0-45 The compiler said pkcs11_lib.c:289: warning: 'i' is used uninitialized in this function The source code is if (slot_num >= 0 && slot_num < module->slotCount && module->slots && module->slots[i] && PK11_IsPresent(module->slots[i])) { I agree with the compiler. Suggest initialise local variable "i" before first use. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.