https://bugzilla.novell.com/show_bug.cgi?id=214277 Summary: uninitialized variable is in dead code branch Product: openSUSE 10.2 Version: Alpha 5 plus Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: matz@novell.com ReportedBy: olh@novell.com QAContact: qa@suse.de rpm-4.*/lib/verify.c:142: warning: 'con' is used uninitialized in this function rc == -1; if (selinuxEnabled == 1 && (flags & RPMVERIFY_CONTEXTS)) { security_context_t con; rc = lgetfilecon(fn, &con); if (rc == -1) *res |= (RPMVERIFY_LGETFILECONFAIL|RPMVERIFY_CONTEXTS); else { rpmsx sx = rpmtsREContext(ts); const char * fcontext; if (sx != NULL) { /* Get file security context from patterns. */ fcontext = rpmsxFContext(sx, fn, fmode); sx = rpmsxFree(sx); } else { /* Get file security context from package. */ fcontext = rpmfiFContext(fi); } if (fcontext == NULL || strcmp(fcontext, con)) *res |= RPMVERIFY_CONTEXTS; freecon(con); } } -- 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, or are watching someone who is.