Bug 1023237 - Remove unused variable 'filter_ctx'
Summary: Remove unused variable 'filter_ctx'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_nss
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthew Harmsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1029665
TreeView+ depends on / blocked
 
Reported: 2013-10-25 00:40 UTC by Matthew Harmsen
Modified: 2013-11-24 03:29 UTC (History)
3 users (show)

Fixed In Version: mod_nss-1.0.8-26.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1029665 (view as bug list)
Environment:
Last Closed: 2013-11-24 03:29:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to remove unused variable (691 bytes, patch)
2013-11-12 22:56 UTC, Matthew Harmsen
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.