Fix -Wunused-variable warning in rdf/datasource/src/nsFileSystemDataSource.cpp

RESOLVED FIXED in Firefox 26

Status

()

Core
RDF
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: cpeterson, Assigned: cpeterson)

Tracking

(Blocks: 1 bug)

Trunk
mozilla26
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(firefox25 wontfix, firefox26 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Created attachment 798137 [details] [diff] [review]
fix-rdf-Wunused-variable.patch

In the member function FileSystemDataSource::GetVolumeList(), nsresult rv is only used #ifdef XP_WIN or XP_OS2:

https://hg.mozilla.org/mozilla-central/file/4ba8dda1ee31/rdf/datasource/src/nsFileSystemDataSource.cpp#l846

rdf/datasource/src/nsFileSystemDataSource.cpp:846:14 [-Wunused-variable] unused variable 'rv'
Attachment #798137 - Flags: review?(benjamin)

Updated

4 years ago
Attachment #798137 - Flags: review?(benjamin) → review+
(Assignee)

Comment 1

4 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/48952adc1a95
status-firefox25: --- → wontfix
status-firefox26: --- → fixed
https://hg.mozilla.org/mozilla-central/rev/48952adc1a95
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in before you can comment on or make changes to this bug.