Closed Bug 798355 Opened 8 years ago Closed 8 years ago

Unneeded base class conversion operator in MachMsgPortDescriptor

Categories

(Core :: IPC, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: ehsan, Assigned: ehsan)

Details

Attachments

(1 file)

In file included from /Users/ehsanakhgari/moz/mozilla-central/ipc/glue/GeckoChildProcessHost.cpp:15:
/Users/ehsanakhgari/moz/mozilla-central/ipc/chromium/src/chrome/common/mach_ipc_mac.h:116:3: warning: conversion function converting 'MachMsgPortDescriptor' to its base class
      'mach_msg_port_descriptor_t' will never be used
  operator mach_msg_port_descriptor_t&() {
  ^

(One of the smartest warnings in clang!)
Attached patch Patch (v1)Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #668440 - Flags: review?(jones.chris.g)
Attachment #668440 - Flags: review?(jones.chris.g) → review+
https://hg.mozilla.org/mozilla-central/rev/747ca210aaa0
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.