"TableTicker.cpp:823:9: warning: unused variable 'platformData' [-Wunused-variable]", on Mac OS X opt builds

RESOLVED FIXED in mozilla21

Status

()

defect
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

(Blocks 1 bug)

Trunk
mozilla21
All
macOS
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Assignee

Description

7 years ago
Build warning, on Mac OS X opt builds:
{
/builds/slave/try-osx64/build/obj-firefox/i386/config/nsinstall -L /builds/slave/try-osx64/build/obj-firefox/i386/tools/profiler -m 644 "_xpidlgen/profiler.xpt" "../../dist/bin/components"
../../../../tools/profiler/TableTicker.cpp:823:9: warning: unused variable 'platformData' [-Wunused-variable]
  void *platformData = nullptr;
        ^
1 warning generated.
}
https://tbpl.mozilla.org/php/getParsedLog.php?id=19249692&tree=Try
Assignee

Comment 1

7 years ago
Posted patch fixSplinter Review
This just moves the variable declaration down to where it's used (in a block that's not compiled for OS X).
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #707874 - Flags: review?(bgirard)
Attachment #707874 - Flags: review?(bgirard) → review+
Assignee

Updated

7 years ago
Blocks: 836150
https://hg.mozilla.org/mozilla-central/rev/1efe0f7e93d0
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in before you can comment on or make changes to this bug.