Closed Bug 1626517 Opened 6 years ago Closed 4 years ago

Use mozilla::Ignore in mozilla::Decoder calls is appropriate

Categories

(Core :: Internationalization, task, P3)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: hsivonen, Assigned: ssummar)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

Bug 1345842 added mozilla::Ignore. Review usage of mozilla::Decoder (and mozilla::Encoder) for cases where one of the return tuple elements is given a name and then passed into mozilla::Unused and replace those cases with mozilla::Ignore.

Priority: -- → P3
Assignee: nobody → ssummar.bee16seecs
Status: NEW → ASSIGNED

Hi there, I added a patch. Let me know if there needs to be any revisions.

Btw doesn't his bug block bug 1603127 as structured bindings don't support selecting specified variables like Tie does through mozilla::Ignore

Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/a8860e1ebb78 Replaced mozilla::Unused with mozilla::Ignore in mozilla::Decoder/mozilla::Encoder calls. r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch

Thanks!

(In reply to Henri Sivonen (:hsivonen) from comment #7)

Thanks!

Anytime.

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

Attachment

General

Created:
Updated:
Size: