Bug 1023237

Summary: Remove unused variable 'filter_ctx'
Product: [Fedora] Fedora Reporter: Matthew Harmsen <mharmsen>
Component: mod_nssAssignee: Matthew Harmsen <mharmsen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: mharmsen, nkinder, rcritten
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mod_nss-1.0.8-26.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1029665 (view as bug list) Environment:
Last Closed: 2013-11-24 03:29:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1029665    
Attachments:
Description Flags
Patch to remove unused variable none

Description Matthew Harmsen 2013-10-25 00:40:54 UTC
A static analysis scan of build mod_nss-1.0.8-24 yielded the following warning:

1. mod_nss-1.0.8/nss_engine_io.c:0:scope_hint – In function 'nss_AuthCertificate'
2. mod_nss-1.0.8/nss_engine_io.c:1357:25:warning – variable 'filter_ctx' set but not used [-Wunused-but-set-variable]
# nss_filter_ctx_t *filter_ctx;
# ^

This unused variable should be removed from the source code.

Comment 1 Matthew Harmsen 2013-11-12 22:56:34 UTC
Created attachment 823162 [details]
Patch to remove unused variable

Comment 2 Fedora Update System 2013-11-12 23:53:57 UTC
mod_nss-1.0.8-26.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mod_nss-1.0.8-26.fc20

Comment 3 Fedora Update System 2013-11-14 03:35:07 UTC
Package mod_nss-1.0.8-26.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mod_nss-1.0.8-26.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-21277/mod_nss-1.0.8-26.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-11-24 03:29:55 UTC
mod_nss-1.0.8-26.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.